summaryrefslogtreecommitdiff
path: root/sys/netinet/in_gif.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/in_gif.c')
-rw-r--r--sys/netinet/in_gif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/in_gif.c b/sys/netinet/in_gif.c
index 3872ddefe13b..44b9961d44b2 100644
--- a/sys/netinet/in_gif.c
+++ b/sys/netinet/in_gif.c
@@ -281,14 +281,14 @@ in_gif_input(struct mbuf *m, int off)
sc = (struct gif_softc *)encap_getarg(m);
if (sc == NULL) {
m_freem(m);
- IPSTAT_INC(ips_nogif);
+ KMOD_IPSTAT_INC(ips_nogif);
return;
}
gifp = GIF2IFP(sc);
if (gifp == NULL || (gifp->if_flags & IFF_UP) == 0) {
m_freem(m);
- IPSTAT_INC(ips_nogif);
+ KMOD_IPSTAT_INC(ips_nogif);
return;
}
@@ -348,7 +348,7 @@ in_gif_input(struct mbuf *m, int off)
break;
default:
- IPSTAT_INC(ips_nogif);
+ KMOD_IPSTAT_INC(ips_nogif);
m_freem(m);
return;
}