summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/fsm.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-09-10 21:33:32 +0000
committerbrian <brian@FreeBSD.org>1997-09-10 21:33:32 +0000
commit49b883a1dd5b5019c848e73206a2e4e81476c5ee (patch)
tree3de8de5bf4eee5d3aaef4b8536e7882b6c6344a1 /usr.sbin/ppp/fsm.c
parentd4697c2a95a093188f9d457064f3a6fc4e97b9ef (diff)
downloadFreeBSD-src-49b883a1dd5b5019c848e73206a2e4e81476c5ee.zip
FreeBSD-src-49b883a1dd5b5019c848e73206a2e4e81476c5ee.tar.gz
o Initialize the PRED1 input queue when we
receive the ResetAck, NOT when we send the ResetReq (as per the rfc). o SILENTLY ignore CCPs that arrive *before* the network phase (as per the rfc). o Check that we've actually negotiated PRED1 before sending PRED1 output. This bug has been around for a *VERY* long time ! We shouldn't need to explicitly disable PRED1 now :-)
Diffstat (limited to 'usr.sbin/ppp/fsm.c')
-rw-r--r--usr.sbin/ppp/fsm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/fsm.c b/usr.sbin/ppp/fsm.c
index c951086..9027f6d0 100644
--- a/usr.sbin/ppp/fsm.c
+++ b/usr.sbin/ppp/fsm.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: fsm.c,v 1.16 1997/08/25 00:29:12 brian Exp $
+ * $Id: fsm.c,v 1.17 1997/08/31 22:59:27 brian Exp $
*
* TODO:
* o Refer loglevel for log output
@@ -711,6 +711,7 @@ void
FsmRecvResetAck(struct fsm * fp, struct fsmheader * lhp, struct mbuf * bp)
{
LogPrintf(fp->LogLevel, "RecvResetAck\n");
+ Pred1Init(1); /* Initialize Input part */
fp->reqid++;
pfree(bp);
}
OpenPOWER on IntegriCloud