summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ppp.8
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-05-11 20:48:42 +0000
committerphk <phk@FreeBSD.org>1996-05-11 20:48:42 +0000
commit324cb686d3d54b8549afe3d7b81a3727b677b86f (patch)
tree2eb51c7c6b624bca2272b302022a11fdd68760c6 /usr.sbin/ppp/ppp.8
parent3683fd396bd99a9421c45c0f109d8430e49a7e4c (diff)
downloadFreeBSD-src-324cb686d3d54b8549afe3d7b81a3727b677b86f.zip
FreeBSD-src-324cb686d3d54b8549afe3d7b81a3727b677b86f.tar.gz
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 <alk@Think.COM>
Diffstat (limited to 'usr.sbin/ppp/ppp.8')
-rw-r--r--usr.sbin/ppp/ppp.87
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/ppp/ppp.8 b/usr.sbin/ppp/ppp.8
index 2f11232..c3362f6 100644
--- a/usr.sbin/ppp/ppp.8
+++ b/usr.sbin/ppp/ppp.8
@@ -1,5 +1,5 @@
.\" manual page [] for ppp 0.94 beta2 + alpha
-.\" $Id: ppp.8,v 1.15 1996/03/09 08:18:41 ache Exp $
+.\" $Id: ppp.8,v 1.16 1996/05/02 19:18:47 mpp Exp $
.Dd 20 September 1995
.Os FreeBSD
.Dt PPP 8
@@ -664,8 +664,11 @@ is able to generate the following log info into
.Bl -column SMMMMMM -offset indent -compat
.It Li Phase Phase transition log output
.It Li Chat Generate Chat script trace log
+.It Li Connect Generate complete Chat log
+.It Li Carrier Log Chat lines with 'CARRIER'
.It Li LQM Generate LQR report
.It Li LCP Generate LCP/IPCP packet trace
+.It Li Link Log address assignments and link up/down events
.It Li TCP/IP Dump TCP/IP packet
.It Li HDLC Dump HDLC packet in hex
.It Li Async Dump async level packet in hex
@@ -675,7 +678,7 @@ The
.Dq set debug
command allows you to set logging output level, of which
multiple levels can be specified. The default is equivalent to
-.Dq set debug phase lcp .
+.Dq set debug carrier link phase .
.Sh MORE DETAILS
OpenPOWER on IntegriCloud