diff options
| author | Josef Karthauser <joe@FreeBSD.org> | 2000-10-19 23:15:54 +0000 |
|---|---|---|
| committer | Josef Karthauser <joe@FreeBSD.org> | 2000-10-19 23:15:54 +0000 |
| commit | 5da9f8fa978ae925af826ba78653757d2c84c9c1 (patch) | |
| tree | 9f0fe3f2362be5fa75a25ca05077a78bfe2418f0 /sys/netinet6/ip6_input.c | |
| parent | 7ae6b1ebd284680b965c4ce38b7d3923cd7196fe (diff) | |
Notes
Diffstat (limited to 'sys/netinet6/ip6_input.c')
| -rw-r--r-- | sys/netinet6/ip6_input.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c index 46f0b9ce8c78..7e83bf5ed86a 100644 --- a/sys/netinet6/ip6_input.c +++ b/sys/netinet6/ip6_input.c @@ -493,6 +493,11 @@ ip6_input(m) /* this address is ready */ ours = 1; deliverifp = ia6->ia_ifp; /* correct? */ + + /* Count the packet in the ip address stats */ + ia6->ia_ifa.if_ipackets++; + ia6->ia_ifa.if_ibytes += m->m_pkthdr.len; + goto hbhcheck; } else { /* address is not ready, so discard the packet. */ |
