From owner-cvs-usrsbin Tue Mar 24 10:48:41 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA10922 for cvs-usrsbin-outgoing; Tue, 24 Mar 1998 10:48:41 -0800 (PST) (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 KAA10854; Tue, 24 Mar 1998 10:48:31 -0800 (PST) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id KAA26416; Tue, 24 Mar 1998 10:47:51 -0800 (PST) Date: Tue, 24 Mar 1998 10:47:51 -0800 (PST) Message-Id: <199803241847.KAA26416@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp ccp.c command.c defs.c fsm.c fsm.h ip.c ipcp.c lcp.c vars.c vars.h Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1998/03/24 10:47:49 PST Modified files: (Branch: MP) usr.sbin/ppp ccp.c command.c defs.c fsm.c fsm.h ip.c ipcp.c lcp.c vars.c vars.h Log: Remove some more globals: o int modem was unused. o StateNames[] is now accessed via State2Nam() o ipKeepAlive is no more. As a result, we must call FilterCheck() twice if we're doing TCP/IP logging (once when we queue and log the packet and once when we transmit it and need to know if the idle timer should be reset), but this won't be the case in normal life. Revision Changes Path 1.30.2.28 +2 -2 src/usr.sbin/ppp/ccp.c 1.131.2.43 +2 -2 src/usr.sbin/ppp/command.c 1.11.4.4 +1 -2 src/usr.sbin/ppp/defs.c 1.27.2.24 +22 -14 src/usr.sbin/ppp/fsm.c 1.16.2.12 +2 -4 src/usr.sbin/ppp/fsm.h 1.38.2.16 +21 -17 src/usr.sbin/ppp/ip.c 1.50.2.27 +2 -2 src/usr.sbin/ppp/ipcp.c 1.55.2.33 +2 -2 src/usr.sbin/ppp/lcp.c 1.45.2.17 +2 -3 src/usr.sbin/ppp/vars.c 1.42.2.15 +1 -3 src/usr.sbin/ppp/vars.h