From d3ae9e37cd81d8e346cb4bc5692267ae1fbf8897 Mon Sep 17 00:00:00 2001 From: ru Date: Thu, 3 Aug 2000 14:53:41 +0000 Subject: Do not display icmp(4) sockets as non-existent bridge(4) sockets. --- usr.bin/netstat/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/netstat/main.c') diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c index 453eb79..9c128aa 100644 --- a/usr.bin/netstat/main.c +++ b/usr.bin/netstat/main.c @@ -174,7 +174,7 @@ struct protox { { -1, N_IPSECSTAT, 1, 0, ipsec_stats, NULL, "ipsec", 0}, #endif - { -1, -1, 1, protopr, + { -1, -1, 1, 0, bdg_stats, NULL, "bdg", 1 /* bridging... */ }, { -1, -1, 0, 0, 0, NULL, 0 } @@ -198,7 +198,7 @@ struct protox ip6protox[] = { { -1, N_PIM6STAT, 1, 0, pim6_stats, NULL, "pim6", 0 }, #endif - { -1, -1, 1, protopr, + { -1, -1, 1, 0, bdg_stats, NULL, "bdg", 1 /* bridging... */ }, { -1, -1, 0, 0, 0, NULL, 0, 0 } -- cgit v1.1