Subject: PR/32847 CVS commit: src/usr.sbin/altq/altqstat
To: None <peter@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Peter Postma <peter@netbsd.org>
List: netbsd-bugs
Date: 10/28/2006 11:45:02
The following reply was made to PR bin/32847; it has been noted by GNATS.
From: Peter Postma <peter@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/32847 CVS commit: src/usr.sbin/altq/altqstat
Date: Sat, 28 Oct 2006 11:43:02 +0000 (UTC)
Module Name: src
Committed By: peter
Date: Sat Oct 28 11:43:02 UTC 2006
Modified Files:
src/usr.sbin/altq/altqstat: altqstat.c qdisc_blue.c qdisc_cbq.c
qdisc_cdnr.c qdisc_fifoq.c qdisc_hfsc.c qdisc_jobs.c qdisc_priq.c
qdisc_red.c qdisc_rio.c qdisc_wfq.c
Log Message:
- Show statistics immediately, not after a 5 second delay.
- For cbq, cdnr, hfsc and priq: if previous stats aren't available yet
then don't show the packet/byte rate.
- Place the count check before the delay and after the stats printing.
This fixes PR #32847
ok tron@
To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/usr.sbin/altq/altqstat/altqstat.c \
src/usr.sbin/altq/altqstat/qdisc_cbq.c
cvs rdiff -r1.3 -r1.4 src/usr.sbin/altq/altqstat/qdisc_blue.c
cvs rdiff -r1.4 -r1.5 src/usr.sbin/altq/altqstat/qdisc_cdnr.c \
src/usr.sbin/altq/altqstat/qdisc_fifoq.c \
src/usr.sbin/altq/altqstat/qdisc_red.c \
src/usr.sbin/altq/altqstat/qdisc_wfq.c
cvs rdiff -r1.5 -r1.6 src/usr.sbin/altq/altqstat/qdisc_hfsc.c \
src/usr.sbin/altq/altqstat/qdisc_priq.c \
src/usr.sbin/altq/altqstat/qdisc_rio.c
cvs rdiff -r1.2 -r1.3 src/usr.sbin/altq/altqstat/qdisc_jobs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.