diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-06-08 10:37:47 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-06-08 10:37:47 +0000 |
commit | f2bc4900f02cc1883ee1e94470a1c633fe346590 (patch) | |
tree | 020a7b3af837bcf72e100b928dd6558341e4d6f7 | |
parent | 22a7196c65d64289a3f911f39ec889f31979d743 (diff) |
Update packet counters correctly.
From Robert J. Wozny <speedy@atman.pl>
-rw-r--r-- | sys/netinet/in_gif.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/in_gif.c b/sys/netinet/in_gif.c index f4212f2874b..2b68ded2f92 100644 --- a/sys/netinet/in_gif.c +++ b/sys/netinet/in_gif.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in_gif.c,v 1.18 2001/06/08 03:53:45 angelos Exp $ */ +/* $OpenBSD: in_gif.c,v 1.19 2001/06/08 10:37:46 art Exp $ */ /* $KAME: in_gif.c,v 1.50 2001/01/22 07:27:16 itojun Exp $ */ /* @@ -227,6 +227,8 @@ in_gif_input(m, va_alist) if (gifp) { m->m_pkthdr.rcvif = gifp; + gifp->if_ipackets++; + gifp->if_ibytes += m->m_pkthdr.len; ipip_input(m, off); /* We have a configured GIF */ return; } |