Disabled funny broadcast address complaint from inet
This commit is contained in:
parent
a5ac07400d
commit
03e2560d81
1 changed files with 2 additions and 0 deletions
|
@ -742,9 +742,11 @@ assert (pack->acc_length >= IP_MIN_HDR_SIZE);
|
||||||
|
|
||||||
if (!broadcast_dst(ip_port, ip_hdr->ih_dst))
|
if (!broadcast_dst(ip_port, ip_hdr->ih_dst))
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
printf(
|
printf(
|
||||||
"ip[%d]: broadcast packet for ip-nonbroadcast addr, src=",
|
"ip[%d]: broadcast packet for ip-nonbroadcast addr, src=",
|
||||||
ip_port->ip_port);
|
ip_port->ip_port);
|
||||||
|
#endif
|
||||||
writeIpAddr(ip_hdr->ih_src);
|
writeIpAddr(ip_hdr->ih_src);
|
||||||
printf(" dst=");
|
printf(" dst=");
|
||||||
writeIpAddr(ip_hdr->ih_dst);
|
writeIpAddr(ip_hdr->ih_dst);
|
||||||
|
|
Loading…
Reference in a new issue