Subject: CVS commit: src/usr.sbin/altq/altqstat
To: None <source-changes@NetBSD.org>
From: Peter Postma <peter@netbsd.org>
List: source-changes
Date: 10/28/2006 11:43:02
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.