diff options
author | brian <brian@FreeBSD.org> | 2004-06-30 12:24:56 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2004-06-30 12:24:56 +0000 |
commit | 91f649862ba818f725de4dbbae946f759c67f63d (patch) | |
tree | 76236bba03020705b0cfc202918cca570310fc13 /usr.sbin/ppp/acf.c | |
parent | 595d75cc49b8cc7aea7b0e1bef4be2938978bf98 (diff) | |
download | FreeBSD-src-91f649862ba818f725de4dbbae946f759c67f63d.zip FreeBSD-src-91f649862ba818f725de4dbbae946f759c67f63d.tar.gz |
Re-implement LQM, this time according to the rfc.
PR: 11293
MFC after: 4 weeks
Diffstat (limited to 'usr.sbin/ppp/acf.c')
-rw-r--r-- | usr.sbin/ppp/acf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/acf.c b/usr.sbin/ppp/acf.c index 4db0b6b..60e2de4 100644 --- a/usr.sbin/ppp/acf.c +++ b/usr.sbin/ppp/acf.c @@ -85,14 +85,14 @@ acf_LayerPull(struct bundle *b, struct link *l, struct mbuf *bp, u_short *proto) /* We expect the packet not to be compressed */ bp = mbuf_Read(bp, cp, 2); if (cp[0] != HDLC_ADDR) { - p->hdlc.lqm.SaveInErrors++; + p->hdlc.lqm.ifInErrors++; p->hdlc.stats.badaddr++; log_Printf(LogDEBUG, "acf_LayerPull: addr 0x%02x\n", cp[0]); m_freem(bp); return NULL; } if (cp[1] != HDLC_UI) { - p->hdlc.lqm.SaveInErrors++; + p->hdlc.lqm.ifInErrors++; p->hdlc.stats.badcommand++; log_Printf(LogDEBUG, "acf_LayerPull: control 0x%02x\n", cp[1]); m_freem(bp); |