From owner-cvs-all Fri Apr 10 06:19:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA04667 for cvs-all-outgoing; Fri, 10 Apr 1998 06:19:36 -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 GAA04662; Fri, 10 Apr 1998 06:19:33 -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 GAA03585; Fri, 10 Apr 1998 06:19:26 -0700 (PDT) Date: Fri, 10 Apr 1998 06:19:26 -0700 (PDT) Message-Id: <199804101319.GAA03585@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 command.c datalink.c datalink.h defs.c defs.h ipcp.c ipcp.h log.c main.c modem.c modem.h physical.c physical.h ppp.8 prompt.c prompt.h server.c server.h systems.c systems.h throughput.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk brian 1998/04/10 06:19:26 PDT Modified files: (Branch: MP) usr.sbin/ppp bundle.c bundle.h command.c datalink.c datalink.h defs.c defs.h ipcp.c ipcp.h log.c main.c modem.c modem.h physical.c physical.h ppp.8 prompt.c prompt.h server.c server.h systems.c systems.h throughput.c Log: o Remove the `mode' global - it's now per physical device. o Shuffle things that live at the datalink level into ``show link'' rather than ``show modem''. o Make both ``show'' commands prettier and more consistent, and display carrier status, link type and our name in ``show modem''. o Show redial and reconnect information in ``show link'' and remove ``show redial'' and ``show reconnect''. o Down the correct link in bundle_LinkLost(). o Remove stale -direct and -background links at the end of our main loop, not when we know they're going. This prevents unexpected pointer-invalidations... o If we ``set server'' with the same values twice, notice and don't moan about failure. o Record dial script despite our link mode. The mode may be changed later (next mod) :-) We never run scripts in -direct and -dedicated modes. o Make ``set server none'' functional again. o Correct datalink state array so that we don't report an ``unknown'' state. o Pass struct ipcp to IpcpCleanInterface, not struct fsm. o Create TUN_PREFIX define rather than hard-coding in main.c o prompt_TtyInit now handles a NULL prompt for -direct mode rather than having to create one then destroy it uncleanly. o Mention our mode in the "PPP Started" LogPHASE message. o Bring all auto links up when we have something to send. o Remove some redundant Physical_*() functions. o Show which connection is running a command when logging commands. o Initialise throughput uptime correctly. Revision Changes Path 1.1.2.44 +44 -24 src/usr.sbin/ppp/Attic/bundle.c 1.1.2.27 +6 -4 src/usr.sbin/ppp/Attic/bundle.h 1.131.2.57 +63 -161 src/usr.sbin/ppp/command.c 1.1.2.36 +146 -38 src/usr.sbin/ppp/Attic/datalink.c 1.1.2.17 +13 -7 src/usr.sbin/ppp/Attic/datalink.h 1.11.4.8 +1 -2 src/usr.sbin/ppp/defs.c 1.29.2.13 +11 -15 src/usr.sbin/ppp/defs.h 1.50.2.35 +10 -10 src/usr.sbin/ppp/ipcp.c 1.18.2.21 +2 -2 src/usr.sbin/ppp/ipcp.h 1.25.2.7 +2 -2 src/usr.sbin/ppp/log.c 1.121.2.48 +64 -76 src/usr.sbin/ppp/main.c 1.77.2.46 +66 -114 src/usr.sbin/ppp/modem.c 1.16.2.15 +2 -2 src/usr.sbin/ppp/modem.h 1.1.2.23 +2 -39 src/usr.sbin/ppp/Attic/physical.c 1.1.2.20 +2 -11 src/usr.sbin/ppp/Attic/physical.h 1.97.2.14 +11 -9 src/usr.sbin/ppp/ppp.8 1.1.2.25 +31 -35 src/usr.sbin/ppp/Attic/prompt.c 1.1.2.7 +6 -4 src/usr.sbin/ppp/Attic/prompt.h 1.16.2.15 +27 -17 src/usr.sbin/ppp/server.c 1.4.2.4 +6 -1 src/usr.sbin/ppp/server.h 1.35.2.6 +26 -39 src/usr.sbin/ppp/systems.c 1.10.2.4 +3 -2 src/usr.sbin/ppp/systems.h 1.4.4.6 +2 -1 src/usr.sbin/ppp/throughput.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message