From b9592ca04094247089773ca7dd6d9b80a1327acf Mon Sep 17 00:00:00 2001 From: archie Date: Thu, 1 Jun 2000 01:29:49 +0000 Subject: Fix bug where receive statistics for the bundle were not getting updated. --- sys/netgraph/ng_ppp.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys') diff --git a/sys/netgraph/ng_ppp.c b/sys/netgraph/ng_ppp.c index ba1dacf..fbd29ec 100644 --- a/sys/netgraph/ng_ppp.c +++ b/sys/netgraph/ng_ppp.c @@ -1016,6 +1016,10 @@ ng_ppp_mp_input(node_p node, int linkNum, struct mbuf *m, meta_p meta) struct ng_ppp_frag *qent; int i, diff, inserted; + /* Stats */ + priv->bundleStats.recvFrames++; + priv->bundleStats.recvOctets += m->m_pkthdr.len; + /* Extract fragment information from MP header */ if (priv->conf.recvShortSeq) { u_int16_t shdr; -- cgit v1.1