diff options
author | ru <ru@FreeBSD.org> | 2001-03-13 13:26:06 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-03-13 13:26:06 +0000 |
commit | e7537660da15b12ac3a6e5a2f6d88f50e7c159ec (patch) | |
tree | 1d7552245a3d5ccf12b1f91b3d655f35372b96f8 /sys/netinet/udp_usrreq.c | |
parent | 3cf204f73d0d9a605286ef73cf6608c9da8f1249 (diff) | |
download | FreeBSD-src-e7537660da15b12ac3a6e5a2f6d88f50e7c159ec.zip FreeBSD-src-e7537660da15b12ac3a6e5a2f6d88f50e7c159ec.tar.gz |
Count and show incoming UDP datagrams with no checksum.
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
-rw-r--r-- | sys/netinet/udp_usrreq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index 1dd3eee..350a384 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -234,7 +234,8 @@ udp_input(m, off, proto) m_freem(m); return; } - } + } else + udpstat.udps_nosum++; if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr)) || in_broadcast(ip->ip_dst, m->m_pkthdr.rcvif)) { |