summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-07-21 13:01:27 +0000
committerphk <phk@FreeBSD.org>1996-07-21 13:01:27 +0000
commit11aea80c523e337791e8efa6d4a644015703d452 (patch)
tree3b2dbf83f61c8d13423f46f7326e50dea36c1530
parent9404f2c96518e62a17b1c9689e318a5ff21e013c (diff)
downloadFreeBSD-src-11aea80c523e337791e8efa6d4a644015703d452.zip
FreeBSD-src-11aea80c523e337791e8efa6d4a644015703d452.tar.gz
Reset Pred1 protocol on FCS errors.
-rw-r--r--usr.sbin/ppp/pred.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/pred.c b/usr.sbin/ppp/pred.c
index 063d797..7e11d09 100644
--- a/usr.sbin/ppp/pred.c
+++ b/usr.sbin/ppp/pred.c
@@ -5,7 +5,7 @@
/*
*
- * $Id: pred.c,v 1.5 1996/01/30 11:08:48 dfr Exp $
+ * $Id: pred.c,v 1.6 1996/05/11 20:48:41 phk Exp $
*
* pred.c -- Test program for Dave Rand's rendition of the
* predictor algorithm
@@ -219,6 +219,7 @@ struct mbuf *bp;
else
{
LogDumpBp(LOG_HDLC, "Bad FCS", wp);
+ CcpSendResetReq(&CcpFsm);
pfree(wp);
}
pfree(bp);
OpenPOWER on IntegriCloud