summaryrefslogtreecommitdiffstats
path: root/sys/netinet/igmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/igmp.c')
-rw-r--r--sys/netinet/igmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/igmp.c b/sys/netinet/igmp.c
index 6b46d55..6102a61 100644
--- a/sys/netinet/igmp.c
+++ b/sys/netinet/igmp.c
@@ -3413,7 +3413,7 @@ igmp_intr(struct mbuf *m)
CTR3(KTR_IGMPV3, "%s: dropped %p as ifindex %u went away.",
__func__, m, ifindex);
m_freem(m);
- V_ipstat.ips_noroute++;
+ IPSTAT_INC(ips_noroute);
goto out;
}
@@ -3441,7 +3441,7 @@ igmp_intr(struct mbuf *m)
if (m0 == NULL) {
CTR2(KTR_IGMPV3, "%s: dropped %p", __func__, m);
m_freem(m);
- V_ipstat.ips_odropped++;
+ IPSTAT_INC(ips_odropped);
goto out;
}
}
OpenPOWER on IntegriCloud