> Recently that changed, and "netstat -f inet -i" in particular changed to
> give the -f flag priority over the -i flag. This makes no sense to me,
> so I intend to commit this patch:
Could this be left with adding sflag check?
Because now there is interface statistics display mode, when, e.g.
netstat -s -I bar0 -f inet6
is specified. (though this is inet6 only now.)
If it is confusing, I'll think of adding new option flag for it.
--- netstat/main.c.old Tue Jan 4 16:14:46 2000
+++ netstat/main.c Thu Jan 6 18:19:24 2000
@@ -460,9 +460,6 @@
*/
#endif
if (iflag) {
- if (af != AF_UNSPEC)
+ if (sflag && af != AF_UNSPEC)
goto protostat;
kread(0, 0, 0);
intpr(interval, nl[N_IFNET].n_value, NULL);
exit(0);
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message