From 0184af3662991e3ea5bd7fe01c4ee42e1bdb5da2 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 10 May 2005 17:12:01 +0000 Subject: correct v6 handling; yanovich@psc.edu --- usr.bin/systat/netstat.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'usr.bin/systat/netstat.c') diff --git a/usr.bin/systat/netstat.c b/usr.bin/systat/netstat.c index ba39b1b14a9..2756d0d9090 100644 --- a/usr.bin/systat/netstat.c +++ b/usr.bin/systat/netstat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: netstat.c,v 1.26 2004/09/29 21:59:28 deraadt Exp $ */ +/* $OpenBSD: netstat.c,v 1.27 2005/05/10 17:12:00 deraadt Exp $ */ /* $NetBSD: netstat.c,v 1.3 1995/06/18 23:53:07 cgd Exp $ */ /*- @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)netstat.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: netstat.c,v 1.26 2004/09/29 21:59:28 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: netstat.c,v 1.27 2005/05/10 17:12:00 deraadt Exp $"; #endif /* not lint */ /* @@ -210,9 +210,6 @@ again: prev = next; next = inpcb.inp_queue.cqe_next; - if (inpcb.inp_flags & INP_IPV6) - continue; - if (!aflag) { if (!(inpcb.inp_flags & INP_IPV6) && inet_lnaof(inpcb.inp_laddr) == INADDR_ANY) -- cgit v1.2.3