From owner-cvs-usrsbin Sat May 11 13:49:10 1996 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA15438 for cvs-usrsbin-outgoing; Sat, 11 May 1996 13:49:10 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA15400 Sat, 11 May 1996 13:48:50 -0700 (PDT) Date: Sat, 11 May 1996 13:48:50 -0700 (PDT) From: Poul-Henning Kamp Message-Id: <199605112048.NAA15400@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/ppp arp.c auth.c ccp.c chap.c chat.c command.c fsm.c hdlc.c ip.c ipcp.c lcp.c log.c log.h lqr.c main.c modem.c os.c pap.c ppp.8 pred.c route.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/05/11 13:48:49 Modified: usr.sbin/ppp arp.c auth.c ccp.c chap.c chat.c command.c fsm.c hdlc.c ip.c ipcp.c lcp.c log.c log.h lqr.c main.c modem.c os.c pap.c ppp.8 pred.c route.c Log: Here is a diff of /usr/src/usr.sbin/ppp against current. The diffs add some logging functionality which I find very useful. 'set debug link' will record just link up/down and address assignments. 'set debug connect' will record the entire chat dialog 'set debug carrier' will record just chat lines including 'CARRIER' (so that I can be sure I'm getting a 28.8 line). There was a global change required to permit LogPrintf to take a bit mask instead of a bit position value (to permit logging some events on either of two flags, so that no change in 'set debug lcp' would result from the code supporting 'link'. Thus the diffs are rather long for such a small change. The man page is also touched. Oh, and there was a slight syntax problem in route.c Reviewed by: phk Submitted by: Tony Kimball Revision Changes Path 1.5 +3 -3 src/usr.sbin/ppp/arp.c 1.7 +2 -2 src/usr.sbin/ppp/auth.c 1.7 +11 -11 src/usr.sbin/ppp/ccp.c 1.6 +4 -4 src/usr.sbin/ppp/chap.c 1.10 +57 -14 src/usr.sbin/ppp/chat.c 1.17 +4 -3 src/usr.sbin/ppp/command.c 1.7 +22 -22 src/usr.sbin/ppp/fsm.c 1.9 +3 -3 src/usr.sbin/ppp/hdlc.c 1.9 +2 -2 src/usr.sbin/ppp/ip.c 1.8 +17 -17 src/usr.sbin/ppp/ipcp.c 1.9 +30 -30 src/usr.sbin/ppp/lcp.c 1.4 +3 -3 src/usr.sbin/ppp/log.c 1.6 +18 -2 src/usr.sbin/ppp/log.h 1.7 +11 -11 src/usr.sbin/ppp/lqr.c 1.19 +10 -10 src/usr.sbin/ppp/main.c 1.24 +8 -8 src/usr.sbin/ppp/modem.c 1.5 +24 -14 src/usr.sbin/ppp/os.c 1.5 +6 -6 src/usr.sbin/ppp/pap.c 1.17 +5 -2 src/usr.sbin/ppp/ppp.8 1.6 +2 -2 src/usr.sbin/ppp/pred.c 1.6 +5 -4 src/usr.sbin/ppp/route.c