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:55
Module Name:	src
Committed By:	tron
Date:		Wed Jul 14 10:19:55 UTC 2004

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

Log Message:
Pull up revision 1.5 (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.3.2.4 -r1.3.2.5 src/usr.bin/netstat/fast_ipsec.c

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