diff options
author | brian <brian@FreeBSD.org> | 1997-10-15 01:01:17 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-10-15 01:01:17 +0000 |
commit | d651f50b27a64bd1c30430a15563f8e76d877588 (patch) | |
tree | 3ca108fda4813de7321099050ffd9f58ac4e4765 /usr.sbin/ppp/lcp.c | |
parent | 3df0466f6e736c625c308cb5187e42d41214bf8e (diff) | |
download | FreeBSD-src-d651f50b27a64bd1c30430a15563f8e76d877588.zip FreeBSD-src-d651f50b27a64bd1c30430a15563f8e76d877588.tar.gz |
Initialise LCP, IPCP and CCP as soon as LCP is down.
Without this, in -auto mode, we stay in ST_STOPPING
and never check our dial filters to see if it's time
to bring the line up again.
This may make "set stopped" redundant.
Diffstat (limited to 'usr.sbin/ppp/lcp.c')
-rw-r--r-- | usr.sbin/ppp/lcp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/ppp/lcp.c b/usr.sbin/ppp/lcp.c index 85e9e73..4b181c9 100644 --- a/usr.sbin/ppp/lcp.c +++ b/usr.sbin/ppp/lcp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: lcp.c,v 1.37 1997/09/29 19:40:16 brian Exp $ + * $Id: lcp.c,v 1.38 1997/10/05 15:00:10 brian Exp $ * * TODO: * o Validate magic number received from peer. @@ -352,6 +352,9 @@ LcpLayerFinish(struct fsm * fp) (void) OsInterfaceDown(0); /* We're down at last. Lets tell background and direct mode to get out */ NewPhase(PHASE_TERMINATE); + LcpInit(); + IpcpInit(); + CcpInit(); Prompt(); } |