Fix a byteorder problem in a diagnostic message.
PR: 16625 Submitted by: Peter Jeremy <peter.jeremy@ALCATEL.COM.AU>
This commit is contained in:
parent
d57dbd1615
commit
3ce965f82e
@ -484,7 +484,8 @@ input(struct sockaddr_in *from, /* received from this IP address */
|
|||||||
if (from->sin_port != ntohs(RIP_PORT)) {
|
if (from->sin_port != ntohs(RIP_PORT)) {
|
||||||
msglim(&bad_router, FROM_NADDR,
|
msglim(&bad_router, FROM_NADDR,
|
||||||
" discard RIP response from unknown port"
|
" discard RIP response from unknown port"
|
||||||
" %d", from->sin_port);
|
" %d on host %s", ntohs(from->sin_port),
|
||||||
|
naddr_ntoa(FROM_NADDR));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user