summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-08-03 14:53:41 +0000
committerru <ru@FreeBSD.org>2000-08-03 14:53:41 +0000
commitd3ae9e37cd81d8e346cb4bc5692267ae1fbf8897 (patch)
treeb5d53a795ff1dc3103a42c6e6ba6f06bf71bd724 /usr.bin/netstat
parent50604c76216a391b193b037e68ab1f66c4e41dde (diff)
downloadFreeBSD-src-d3ae9e37cd81d8e346cb4bc5692267ae1fbf8897.zip
FreeBSD-src-d3ae9e37cd81d8e346cb4bc5692267ae1fbf8897.tar.gz
Do not display icmp(4) sockets as non-existent bridge(4) sockets.
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r--usr.bin/netstat/main.c4
1 files changed, 2 insertions, 2 deletions
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 }
OpenPOWER on IntegriCloud