From owner-cvs-usrsbin Sun Oct 5 08:00:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA24360 for cvs-usrsbin-outgoing; Sun, 5 Oct 1997 08:00:44 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA24333; Sun, 5 Oct 1997 08:00:25 -0700 (PDT) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id IAA01014; Sun, 5 Oct 1997 08:00:11 -0700 (PDT) Date: Sun, 5 Oct 1997 08:00:11 -0700 (PDT) Message-Id: <199710051500.IAA01014@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp lcp.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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