mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 08:43:23 +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 New Issue
Block a user