summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_input.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1997-01-21 21:08:09 +0000
committerwollman <wollman@FreeBSD.org>1997-01-21 21:08:09 +0000
commita159cf05c63e7a0e36c1ec3e78bc1e58179da823 (patch)
treeb5d5578d9af1237d0032e473a65aa78c1e25aedb /sys/netinet/ip_input.c
parenta4845fcc5ae7c0f37f173122a30da6a4b56caf40 (diff)
downloadFreeBSD-src-a159cf05c63e7a0e36c1ec3e78bc1e58179da823.zip
FreeBSD-src-a159cf05c63e7a0e36c1ec3e78bc1e58179da823.tar.gz
Count multicast packets received for groups of which we are not
a member separately from generic ``can't forward'' packets. This would have helped me find the previous bug much faster.
Diffstat (limited to 'sys/netinet/ip_input.c')
-rw-r--r--sys/netinet/ip_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 8ac811f..48dfff1 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -412,7 +412,7 @@ tooshort:
*/
IN_LOOKUP_MULTI(ip->ip_dst, m->m_pkthdr.rcvif, inm);
if (inm == NULL) {
- ipstat.ips_cantforward++;
+ ipstat.ips_notmember++;
m_freem(m);
return;
}
OpenPOWER on IntegriCloud