diff options
Diffstat (limited to 'usr.sbin/ppp/hdlc.c')
-rw-r--r-- | usr.sbin/ppp/hdlc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ppp/hdlc.c b/usr.sbin/ppp/hdlc.c index b11596e4352..df8d4e1debd 100644 --- a/usr.sbin/ppp/hdlc.c +++ b/usr.sbin/ppp/hdlc.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: hdlc.c,v 1.8 1998/03/12 02:40:41 brian Exp $ + * $Id: hdlc.c,v 1.9 1998/03/13 01:25:57 brian Exp $ * * TODO: */ @@ -389,12 +389,13 @@ DecodePacket(u_short proto, struct mbuf * bp) * If proto isn't PROTO_COMPD, we still want to pass it to the * decompression routines so that the dictionary's updated */ - if (CcpFsm.state == ST_OPENED) + if (CcpFsm.state == ST_OPENED) { if (proto == PROTO_COMPD) { if ((bp = CompdInput(&proto, bp)) == NULL) return; } else if ((proto & 0xfff1) == 0x21) /* Network Layer protocol */ CcpDictSetup(proto, bp); + } switch (proto) { case PROTO_LCP: |