diff options
| author | Brian Somers <brian@FreeBSD.org> | 1999-08-10 08:42:20 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 1999-08-10 08:42:20 +0000 |
| commit | 8a59beb7de87bdf92c51a2e9a1daa1f30f6a1c46 (patch) | |
| tree | 60b90e907dd7a30d1c1da98e100697b1b7ab79bf | |
| parent | b607544c9fe011eac27b22dde1ce3b7176876d1b (diff) | |
Notes
| -rw-r--r-- | usr.sbin/ppp/fsm.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.sbin/ppp/fsm.c b/usr.sbin/ppp/fsm.c index 50b82102d6ee..894acbea1226 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.44 1999/05/14 09:36:04 brian Exp $ + * $Id: fsm.c,v 1.45 1999/06/02 15:58:57 brian Exp $ * * TODO: */ @@ -863,6 +863,13 @@ FsmRecvProtoRej(struct fsm *fp, struct fsmheader *lhp, struct mbuf *bp) /* (*fp->parent->LayerFinish)(fp->parent->object, fp); */ } break; + case PROTO_IPCP: + if (fp->proto == PROTO_LCP) { + log_Printf(LogPHASE, "%s: IPCP protocol reject closes IPCP !\n", + fp->link->name); + fsm_Close(&fp->bundle->ncp.ipcp.fsm); + } + break; case PROTO_MP: if (fp->proto == PROTO_LCP) { struct lcp *lcp = fsm2lcp(fp); |
