Subject: bin/2224: pppstats chokes on dynamic transitions
To: None <gnats-bugs@NetBSD.ORG>
From: John Kohl <jtk@kolvir.arlington.ma.us>
List: netbsd-bugs
Date: 03/16/1996 18:58:00
>Number:         2224
>Category:       bin
>Synopsis:       pppstats chokes on dynamic transitions
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 16 19:20:02 1996
>Last-Modified:
>Originator:     John Kohl
>Organization:
NetBSD Kernel Hackers `R` Us
>Release:        -current, 1996/03/16
>Environment:
	
System: NetBSD pattern 1.1A NetBSD 1.1A (PATTERN) #32: Sat Mar 16 18:13:16 EST 1996 jtk@pattern:/u3/NetBSD-current/src/sys/arch/i386/compile/PATTERN i386


>Description:
When I use demand-dial ppp, pppstats prints out bogus statistics when the
line transitions from down to up or vice-versa.
e.g.:
pppstats -v -w 5
      IN   PACK VJCOMP  VJUNC  VJERR VJTOSS NON-VJ  |      OUT   PACK VJCOMP  VJUNC NON-VJ VJSRCH VJMISS
     354      8      0      1      0      0      7  |      444     13      1      4      8     15      1
       0      0      0 4294967295      0      0      1  |        0      0 4294967295 4294967292      5 4294967281 4294967295
       0      0      0      0      0      0      0  |        0      0      0      0      0      0      0
       0      0      0      0      0      0      0  |        0      0      0      0      0      0      0
       0      0      0      0      0      0      0  |        0      0      0      0      0      0      0
       0      0      0      0      0      0      0  |        0      0      0      0      0      0      0
       0      0      0      0      0      0      0  |        0      0      0      0      0      0      0
       0      0      0      0      0      0      0  |        0      0      0      0      0      0      0
       0      0      0      0      0      0      0  |        0      0      0      0      0      0      0
       0      0      0      0      0      0      0  |        0      0      0      0      0      0      0
       0      0      0      0      0      0      0  |        0      0      0      0      0      0      0
       0      0      0      0      0      0      0  |        0      0      0      0      0      0      0
       0      0      0      0      0      0      0  |        0      0      0      0      0      0      0
4294966942 4294967288      0      0      0      0 4294967288  | 4294966852 4294967283      0      0 4294967283      0      0
       0      0      0      0      0      0      0  |       57      1      0      0      1      0      0
      45      1      0      0      0      0      1  |       45      1      0      0      1      0      0
     180      5      0      0      0      0      5  |      173      6      0      1      5     15      1
       0      0      0      0      0      0      0  |        0      0      0      0      0      0      0
       0      0      0      0      0      0      0  |        0      0      0      0      0      0      0
       0      0      0      0      0      0      0  |        0      0      0      0      0      0      0
      IN   PACK VJCOMP  VJUNC  VJERR VJTOSS NON-VJ  |      OUT   PACK VJCOMP  VJUNC NON-VJ VJSRCH VJMISS
      17      1      0      0      0      0      1  |       30      1      0 4294967295      2 4294967281 4294967295
       0      0      0      0      0      0      0  |        0      0      0      0      0      0      0
4294967054 4294967289      0      0      0      0 4294967289  | 4294966991 4294967287      0      0 4294967287      0      0
       0      0      0      0      0      0      0  |        0      0      0      0      0      0      0
       0      0      0      0      0      0      0  |        0      0      0      0      0      0      0

>How-To-Repeat:
run demand-dial ppp, and watch the link with pppstats.  Notice the blips
when the line comes up or goes down.

>Fix:
??

>Audit-Trail:
>Unformatted: