Fix bug where bundle-level receive statistics were not getting updated.
This commit is contained in:
parent
1874ec255c
commit
3b49655c07
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64443
@ -1180,6 +1180,8 @@ ng_ppp_get_packet(node_p node, struct mbuf **mp, meta_p *metap)
|
|||||||
FREE(qent, M_NETGRAPH);
|
FREE(qent, M_NETGRAPH);
|
||||||
priv->qlen--;
|
priv->qlen--;
|
||||||
}
|
}
|
||||||
|
priv->bundleStats.recvFrames++;
|
||||||
|
priv->bundleStats.recvOctets += m->m_pkthdr.len;
|
||||||
*mp = m;
|
*mp = m;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user