Fix a byteorder problem in a diagnostic message.

PR:		16625
Submitted by:	Peter Jeremy <peter.jeremy@ALCATEL.COM.AU>
This commit is contained in:
Poul-Henning Kamp 2001-06-06 20:52:30 +00:00
parent d57dbd1615
commit 3ce965f82e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=77835

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