summaryrefslogtreecommitdiff
path: root/sys/netinet6/in6_gif.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-06-08 10:39:38 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-06-08 10:39:38 +0000
commit480e90eb415f3003ae457dbb3109fa26702cf357 (patch)
tree462da2fab289bee57c6b4e60aeecbc1dd56af11f /sys/netinet6/in6_gif.c
parentf2bc4900f02cc1883ee1e94470a1c633fe346590 (diff)
Update packet counters.
Diffstat (limited to 'sys/netinet6/in6_gif.c')
-rw-r--r--sys/netinet6/in6_gif.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet6/in6_gif.c b/sys/netinet6/in6_gif.c
index c50cb57d754..d48ea8b7876 100644
--- a/sys/netinet6/in6_gif.c
+++ b/sys/netinet6/in6_gif.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6_gif.c,v 1.14 2001/05/30 12:31:09 angelos Exp $ */
+/* $OpenBSD: in6_gif.c,v 1.15 2001/06/08 10:39:37 art Exp $ */
/* $KAME: in6_gif.c,v 1.43 2001/01/22 07:27:17 itojun Exp $ */
/*
@@ -250,6 +250,8 @@ int in6_gif_input(mp, offp, proto)
if (gifp) {
m->m_pkthdr.rcvif = gifp;
+ gifp->if_ipackets++;
+ gifp->if_ibytes += m->m_pkthdr.len;
ipip_input(m, *offp);
return IPPROTO_DONE;
}