Date: Sun, 05 Oct 1997 16:23:04 +0100 From: Brian Somers <brian@awfulhak.org> To: Brian Somers <brian@FreeBSD.ORG> Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/ppp lcp.c Message-ID: <199710051523.QAA14713@awfulhak.demon.co.uk> In-Reply-To: Your message of "Sun, 05 Oct 1997 08:00:11 PDT." <199710051500.IAA01014@freefall.freebsd.org>
next in thread | previous 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 This has only been proven on 3 different ppp implementations (one of which is ppp itself). Anyone caring to [dis]prove things elsewhere would have my thanks :-) One other thing.... this should remove the necessity for the "set stopped" command ! -- Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <bri@OpenBSD.org> <http://www.Awfulhak.org> Don't _EVER_ lose your sense of humour....
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710051523.QAA14713>