Fix bug where receive statistics for the bundle were not getting updated.

This commit is contained in:
Archie Cobbs 2000-06-01 01:29:49 +00:00
parent e05327ee1b
commit b4c44c30d8

View File

@ -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;