diff options
author | hsu <hsu@FreeBSD.org> | 2003-08-07 18:21:21 +0000 |
---|---|---|
committer | hsu <hsu@FreeBSD.org> | 2003-08-07 18:21:21 +0000 |
commit | 27325403c64a9b3337b47535dc2680886c4064fe (patch) | |
tree | a145ae69f3bb698396cff2cc32af61aad54348e1 /usr.bin/netstat/main.c | |
parent | 61eb7602bf1a4b7c495cf4c605e2345b1f8dfa61 (diff) | |
download | FreeBSD-src-27325403c64a9b3337b47535dc2680886c4064fe.zip FreeBSD-src-27325403c64a9b3337b47535dc2680886c4064fe.tar.gz |
1. Add support for printing PIM-related statistics with
netstat -s -p pim
2. Print information about the bandwidth meters installed in the kernel with
netstat -g
Submitted by: Pavlin Radoslavov <pavlin@icir.org>
Diffstat (limited to 'usr.bin/netstat/main.c')
-rw-r--r-- | usr.bin/netstat/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c index ac70c41..145f740 100644 --- a/usr.bin/netstat/main.c +++ b/usr.bin/netstat/main.c @@ -168,6 +168,8 @@ struct protox { #endif { -1, -1, 1, 0, bdg_stats, NULL, "bdg", 1 /* bridging... */ }, + { -1, -1, 1, protopr, + pim_stats, NULL, "pim", IPPROTO_PIM }, { -1, -1, 0, 0, 0, NULL, 0, 0 } }; |