mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 07:31:11 +00:00
Fix bug where receive statistics for the bundle were not getting updated.
This commit is contained in:
parent
e05327ee1b
commit
b4c44c30d8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61143
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue