summaryrefslogtreecommitdiff
path: root/sys/netinet/udp_usrreq.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-03-13 13:26:06 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-03-13 13:26:06 +0000
commitfb9aaba000a429421e31d9e40e98f6f035409a10 (patch)
tree86f621efb821df2e36e805be7316438649177851 /sys/netinet/udp_usrreq.c
parent807ef2d03f049e99c96ec15eb432e07b10469044 (diff)
Notes
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
-rw-r--r--sys/netinet/udp_usrreq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index 1dd3eee9f216..350a3842b39b 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)) {