diff options
author | 2000-06-30 23:32:14 +0000 | |
---|---|---|
committer | 2000-06-30 23:32:14 +0000 | |
commit | 8ab498e5c53832a426476e4ee2d131bbaa499365 (patch) | |
tree | 968ee542de11a8d34bad0fba2d8d7d6a9c9840ba | |
parent | Recognize `+cmd' as a command that should always be executed, even in (diff) | |
download | wireguard-openbsd-8ab498e5c53832a426476e4ee2d131bbaa499365.tar.xz wireguard-openbsd-8ab498e5c53832a426476e4ee2d131bbaa499365.zip |
do not prin tcp/udp twice. from: fgs
-rw-r--r-- | usr.bin/netstat/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c index 9e8346677ba..973f790d7ee 100644 --- a/usr.bin/netstat/main.c +++ b/usr.bin/netstat/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.22 2000/06/30 20:04:01 itojun Exp $ */ +/* $OpenBSD: main.c,v 1.23 2000/06/30 23:32:14 itojun Exp $ */ /* $NetBSD: main.c,v 1.9 1996/05/07 02:55:02 thorpej Exp $ */ /* @@ -44,7 +44,7 @@ char copyright[] = #if 0 static char sccsid[] = "from: @(#)main.c 8.4 (Berkeley) 3/1/94"; #else -static char *rcsid = "$OpenBSD: main.c,v 1.22 2000/06/30 20:04:01 itojun Exp $"; +static char *rcsid = "$OpenBSD: main.c,v 1.23 2000/06/30 23:32:14 itojun Exp $"; #endif #endif /* not lint */ @@ -207,9 +207,9 @@ struct protox { #ifdef INET6 struct protox ip6protox[] = { { N_TCBTABLE, N_TCPSTAT, 1, ip6protopr, - tcp_stats, "tcp" }, + 0, "tcp" }, { N_UDBTABLE, N_UDPSTAT, 1, ip6protopr, - udp_stats, "udp" }, + 0, "udp" }, { -1, N_IP6STAT, 1, 0, ip6_stats, "ip6" }, { -1, N_ICMP6STAT, 1, 0, |