Fix bug where bundle-level receive statistics were not getting updated.

This commit is contained in:
Archie Cobbs 2000-08-09 01:43:21 +00:00
parent 1874ec255c
commit 3b49655c07
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64443

View File

@ -1180,6 +1180,8 @@ ng_ppp_get_packet(node_p node, struct mbuf **mp, meta_p *metap)
FREE(qent, M_NETGRAPH);
priv->qlen--;
}
priv->bundleStats.recvFrames++;
priv->bundleStats.recvOctets += m->m_pkthdr.len;
*mp = m;
}