Subject: CVS commit: src/sbin/ifconfig
To: None <source-changes@netbsd.org>
From: Perry E. Metzger <perry@netbsd.org>
List: source-changes
Date: 04/12/2003 04:07:44
Module Name:	src
Committed By:	perry
Date:		Sat Apr 12 01:07:44 UTC 2003

Modified Files:
	src/sbin/ifconfig: ifconfig.c

Log Message:
Add an option (-z) like -v except that it clears the input/output
stats after printing them.
(Basically this just calls SIOCZIFDATA instead of SIOCGIFDATA).
Submitted by Jean-Edouard BABIN in PR bin/21078
However, he suggested using -c, and cgd (reasonably) noted that -z for
"zero" was probably more reasonable.
I've also changed the code very slightly.


To generate a diff of this commit:
cvs rdiff -r1.133 -r1.134 src/sbin/ifconfig/ifconfig.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.