From owner-cvs-usrsbin Fri Apr 17 15:31:48 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA12998 for cvs-usrsbin-outgoing; Fri, 17 Apr 1998 15:06:30 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA12444; Fri, 17 Apr 1998 22:05:02 GMT (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id PAA11532; Fri, 17 Apr 1998 15:04:41 -0700 (PDT) Date: Fri, 17 Apr 1998 15:04:41 -0700 (PDT) Message-Id: <199804172204.PAA11532@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp bundle.c bundle.h datalink.c modem.c timer.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1998/04/17 15:04:40 PDT Modified files: (Branch: MP) usr.sbin/ppp bundle.c bundle.h datalink.c modem.c timer.c Log: o Remove bundle_LinkLost() and have the modem routines simply call datalink_Down() where appropriate rather than modem_Hangup(). o Now, when something horrible happens (failed read/write, loss of carrier etc), we go offline and run any hangup scripts etc in a controlled manner - exactly the same as if someone says ``down'' at the prompt or sends us a HUP. o -dedicated links that fail to make the modem raw close it, suffer the redial timeout then try to open it again. o Add a ``carrier lost'' warning diagnostic. Revision Changes Path 1.1.2.51 +1 -20 src/usr.sbin/ppp/Attic/bundle.c 1.1.2.30 +1 -2 src/usr.sbin/ppp/Attic/bundle.h 1.1.2.39 +14 -2 src/usr.sbin/ppp/Attic/datalink.c 1.77.2.51 +17 -49 src/usr.sbin/ppp/modem.c 1.27.2.5 +2 -2 src/usr.sbin/ppp/timer.c