From 80b9224fd5c4494a47d7068ccf1d6038b3000bae Mon Sep 17 00:00:00 2001 From: Jun-ichiro itojun Hagino Date: Fri, 30 Jun 2000 23:32:15 +0000 Subject: do not prin tcp/udp twice. from: fgs --- usr.bin/netstat/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.bin') 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, -- cgit v1.2.3