From 4d346adf86a376a49b5c762218441da14c23a220 Mon Sep 17 00:00:00 2001 From: phk 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 f1bfa379b59..dd94fd6fd2c 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; } -- 2.45.2