Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/netstat



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.




Home | Main Index | Thread Index | Old Index