From owner-cvs-all Sat May 23 15:29:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA12978 for cvs-all-outgoing; Sat, 23 May 1998 15:29:57 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) 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 PAA12973; Sat, 23 May 1998 15:29:56 -0700 (PDT) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id PAA24814; Sat, 23 May 1998 15:24:54 -0700 (PDT) Date: Sat, 23 May 1998 15:24:54 -0700 (PDT) Message-Id: <199805232224.PAA24814@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 chat.c datalink.c descriptor.h ipcp.c log.c log.h main.c modem.c mp.c physical.c prompt.c prompt.h server.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk brian 1998/05/23 15:24:54 PDT Modified files: usr.sbin/ppp bundle.c bundle.h chat.c datalink.c descriptor.h ipcp.c log.c log.h main.c modem.c mp.c physical.c prompt.c prompt.h server.c Log: o Move our prompt descriptor list outside of the bundle. It's now dealt with by the `server' object. This simplifies things as we only have one list of prompt descriptors and the log_ routines check prompt::logactive to determine whether it should be used for output. o Include the MP socket UpdateSet() result in bundle::UpdateSet(). o Don't select on the tun device unless we're in NETWORK phase or AUTO mode. o Stop the idle timer when we go to DEAD phase. We may have transferred a link and not had a chance to kill it. o Don't fail when trying to unlink our transferred datalink from our descriptor lists just before the transfer. o Add our link descriptor to the write set if we got a short write the last time (physical::out is set). o Log the connection source address when a connection is closed. o Remove descriptor::next field. Descriptor lists are not required any more. Revision Changes Path 1.4 +18 -129 src/usr.sbin/ppp/bundle.c 1.3 +2 -6 src/usr.sbin/ppp/bundle.h 1.46 +1 -2 src/usr.sbin/ppp/chat.c 1.4 +1 -4 src/usr.sbin/ppp/datalink.c 1.3 +1 -2 src/usr.sbin/ppp/descriptor.h 1.52 +2 -2 src/usr.sbin/ppp/ipcp.c 1.28 +82 -15 src/usr.sbin/ppp/log.c 1.20 +13 -3 src/usr.sbin/ppp/log.h 1.124 +10 -3 src/usr.sbin/ppp/main.c 1.83 +5 -6 src/usr.sbin/ppp/modem.c 1.5 +7 -6 src/usr.sbin/ppp/mp.c 1.3 +2 -2 src/usr.sbin/ppp/physical.c 1.3 +5 -11 src/usr.sbin/ppp/prompt.c 1.3 +2 -2 src/usr.sbin/ppp/prompt.h 1.19 +71 -46 src/usr.sbin/ppp/server.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message