diff options
author | luigi <luigi@FreeBSD.org> | 1999-04-26 16:11:50 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 1999-04-26 16:11:50 +0000 |
commit | 564d182065fdf8f65991755b00f96cb3a2bcf24b (patch) | |
tree | 90b99fb7e9aa264ea4586a5385baf62f4646be49 /usr.bin/netstat/main.c | |
parent | e73255d2dc2d278abb31a282e8193f082523b660 (diff) | |
download | FreeBSD-src-564d182065fdf8f65991755b00f96cb3a2bcf24b.zip FreeBSD-src-564d182065fdf8f65991755b00f96cb3a2bcf24b.tar.gz |
Add support for printing bridging statistics with ``-p bdg '' .
If someone has a better flag to use I'll be glad to change it.
Diffstat (limited to 'usr.bin/netstat/main.c')
-rw-r--r-- | usr.bin/netstat/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c index 8f9998f..b1ada41 100644 --- a/usr.bin/netstat/main.c +++ b/usr.bin/netstat/main.c @@ -42,7 +42,7 @@ char const copyright[] = static char sccsid[] = "@(#)main.c 8.4 (Berkeley) 3/1/94"; #endif static const char rcsid[] = - "$Id: main.c,v 1.23 1999/01/18 02:09:15 fenner Exp $"; + "$Id: main.c,v 1.24 1999/02/06 19:12:48 jhay Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -145,6 +145,8 @@ struct protox { icmp_stats, "icmp", IPPROTO_ICMP }, { -1, -1, 1, protopr, igmp_stats, "igmp", IPPROTO_IGMP }, + { -1, -1, 1, protopr, + bdg_stats, "bdg", 1 /* bridging... */ }, { -1, -1, 0, 0, 0, 0 } }; |