Subject: misc/3905: bug in pppstats.8
To: None <gnats-bugs@gnats.netbsd.org>
From: None <msaitoh@spa.is.uec.ac.jp>
List: netbsd-bugs
Date: 07/22/1997 13:47:33
>Number: 3905
>Category: misc
>Synopsis: bug in pppstats.8
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 22 06:50:01 1997
>Last-Modified:
>Originator: SAITOH Masanobu
>Organization:
>Release: latest -current
>Environment:
System: NetBSD ifree.spa.is.uec.ac.jp 1.2G NetBSD 1.2G (IFREE) #49: Fri Jun 27 02:25:25 JST 1997 msaitoh@ifree.spa.is.uec.ac.jp:/var/sources/src/sys/arch/i386/compile/IFREE i386
>Description:
Try "man pppstats":
> NON-VJ The total number of non-TCP packets received by
***
This is a "cut & paste" bug (from slstats.8). This value is computed
as follows:
> if (!rflag)
> printf(" %6u %6u",
> V(vj.vjs_packets) - V(vj.vjs_compressed),
> V(p.ppp_opackets) - V(vj.vjs_packets)); <=====
>How-To-Repeat:
man pppstats
>Fix:
Apply following patch. This bugs is still in ppp Ver 2.3.1.
--- pppstats.8.orig Sun May 18 20:28:19 1997
+++ pppstats.8 Tue Jul 22 22:39:05 1997
@@ -100,7 +100,7 @@
option is specified.
.TP
.B NON-VJ
-The total number of non-TCP packets received by this interface. Only
+The total number of non-VJ packets received by this interface. Only
reported when the
.B -v
option is specified.
@@ -139,7 +139,7 @@
option is specified.
.TP
.B NON-VJ
-The total number of non-TCP packets transmitted from this interface.
+The total number of non-VJ packets transmitted from this interface.
Not reported when the
.B -r
option is specified.
@@ -173,7 +173,7 @@
When the
.B -z
option is specified,
-.Nm pppstats
+.B pppstats
instead displays the following fields, relating to the packet
compression algorithm currently in use. If packet compression is not
in use, these fields will all display zeroes. The fields displayed on
>Audit-Trail:
>Unformatted: