Subject: CVS commit: src/usr.bin/netstat
To: None <source-changes@NetBSD.org>
From: Jonathan Stone <jonathan@netbsd.org>
List: source-changes
Date: 06/27/2004 01:10:54
Module Name:	src
Committed By:	jonathan
Date:		Sun Jun 27 01:10:54 UTC 2004

Modified Files:
	src/usr.bin/netstat: fast_ipsec.c main.c

Log Message:
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.4 -r1.5 src/usr.bin/netstat/fast_ipsec.c
cvs rdiff -r1.45 -r1.46 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.