Subject: CVS commit: [netbsd-2-0] src/usr.bin/netstat
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 07/14/2004 10:19:17
Module Name:	src
Committed By:	tron
Date:		Wed Jul 14 10:19:17 UTC 2004

Modified Files:
	src/usr.bin/netstat [netbsd-2-0]: main.c

Log Message:
Pull up revision 1.46 (requested by jonathan in ticket #647):
Fix two stupid bugs I introduced with stats for  fast-ipsec:
1. Pass the caller-supplied protocol name down through ipsec_switch().
2. Remove my poor attempt to print fast-ipsec stats automagically for
`netstat -s'.  The previous code would print (fast)IPsec per-protocol
stats even for 'netstat', which is just wrong.
A better fix would be to enumerate the sub-"protocols" under IPsec;
but first lets fix the broken behaviour now, for a pullup to 2.0.


To generate a diff of this commit:
cvs rdiff -r1.43.2.2 -r1.43.2.3 src/usr.bin/netstat/main.c

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