Fix a byteorder problem in a diagnostic message.

PR:		16625
Submitted by:	Peter Jeremy <peter.jeremy@ALCATEL.COM.AU>
This commit is contained in:
phk 2001-06-06 20:52:30 +00:00
parent fd9592a92c
commit c3baef5c28

View File

@ -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;
}