X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Flcp.c;h=6661b2e4c4634c4b9fe1cc41f3ca99a53b1b84e5;hb=26a7a28f129d72feaa08ef589e9a49aafd16d984;hp=6d896a4ab1f3ab3208a9cd1f08eefe39489bab25;hpb=0e3ef87b18e5b71756b5b78e30775697573aac61;p=ppp.git diff --git a/pppd/lcp.c b/pppd/lcp.c index 6d896a4..6661b2e 100644 --- a/pppd/lcp.c +++ b/pppd/lcp.c @@ -18,7 +18,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: lcp.c,v 1.28 1996/10/08 04:35:02 paulus Exp $"; +static char rcsid[] = "$Id: lcp.c,v 1.29 1997/03/04 03:39:56 paulus Exp $"; #endif /* @@ -232,7 +232,8 @@ lcp_close(unit, reason) { fsm *f = &lcp_fsm[unit]; - phase = PHASE_TERMINATE; + if (phase != PHASE_DEAD) + phase = PHASE_TERMINATE; if (f->state == STOPPED && f->flags & (OPT_PASSIVE|OPT_SILENT)) { /* * This action is not strictly according to the FSM in RFC1548,