Date: Sun, 5 Oct 1997 08:00:11 -0700 (PDT) From: Brian Somers <brian@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp lcp.c Message-ID: <199710051500.IAA01014@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
brian 1997/10/05 08:00:11 PDT
Modified files:
usr.sbin/ppp lcp.c
Log:
Change things around a bit when bringing down the layers.
o LcpLayerDown() no longer does a NewPhase(PHASE_TERMINATE).
Instead, it's done in LcpLayerFinish(). LayerFinish() gets
called by the FSM after the LCP FSM goes through the Stopping
and Stopped states.
o -direct and -background mode exit at PHASE_TERMINATE, not
PHASE_DEAD.
The result is that LCP, CCP & IPCP are brought down cleanly on both
sides of the link (not just our side). Killing ppp rather than just
closing it still makes it get out after the LCP SendTerminateReq().
I'll have a look at that soon. We're probably not actually sending
the REQ :-(
Revision Changes Path
1.38 +12 -3 src/usr.sbin/ppp/lcp.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710051500.IAA01014>
