From 3ce965f82e30d0f49bb0b503b66dbcf6c4824094 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Wed, 6 Jun 2001 20:52:30 +0000 Subject: [PATCH] Fix a byteorder problem in a diagnostic message. PR: 16625 Submitted by: Peter Jeremy --- sbin/routed/input.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sbin/routed/input.c b/sbin/routed/input.c index f1bfa379b59d..dd94fd6fd2c1 100644 --- a/sbin/routed/input.c +++ b/sbin/routed/input.c @@ -484,7 +484,8 @@ input(struct sockaddr_in *from, /* received from this IP address */ if (from->sin_port != ntohs(RIP_PORT)) { msglim(&bad_router, FROM_NADDR, " discard RIP response from unknown port" - " %d", from->sin_port); + " %d on host %s", ntohs(from->sin_port), + naddr_ntoa(FROM_NADDR)); return; }