diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-06-30 23:32:15 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-06-30 23:32:15 +0000 |
commit | 80b9224fd5c4494a47d7068ccf1d6038b3000bae (patch) | |
tree | 84e51850266d403feae3b1dd88c87eb566d9ae2c /usr.bin | |
parent | 8178309145e472d5971cedf459d046f4f0c326b9 (diff) |
do not prin tcp/udp twice. from: fgs
Diffstat (limited to 'usr.bin')
-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, |