diff options
Diffstat (limited to 'usr.sbin/ppp/fsm.c')
-rw-r--r-- | usr.sbin/ppp/fsm.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/ppp/fsm.c b/usr.sbin/ppp/fsm.c index 7bf11eb..48f9d07 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.21 1997/11/11 23:23:11 brian Exp $ + * $Id: fsm.c,v 1.22 1997/11/22 03:37:31 brian Exp $ * * TODO: * o Refer loglevel for log output @@ -44,7 +44,6 @@ #include "modem.h" #include "loadalias.h" #include "vars.h" -#include "pred.h" u_char AckBuff[200]; u_char NakBuff[200]; @@ -735,12 +734,12 @@ static void FsmRecvResetAck(struct fsm * fp, struct fsmheader * lhp, struct mbuf * bp) { LogPrintf(fp->LogLevel, "RecvResetAck\n"); - Pred1Init(1); /* Initialize Input part */ + CcpResetInput(); fp->reqid++; pfree(bp); } -struct fsmcodedesc FsmCodes[] = { +static const struct fsmcodedesc FsmCodes[] = { {FsmRecvConfigReq, "Configure Request",}, {FsmRecvConfigAck, "Configure Ack",}, {FsmRecvConfigNak, "Configure Nak",}, @@ -763,7 +762,7 @@ FsmInput(struct fsm * fp, struct mbuf * bp) { int len; struct fsmheader *lhp; - struct fsmcodedesc *codep; + const struct fsmcodedesc *codep; len = plength(bp); if (len < sizeof(struct fsmheader)) { |