summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2005-05-10 17:12:00 +0000
committerderaadt <deraadt@openbsd.org>2005-05-10 17:12:00 +0000
commit7bd798083652e9761989368cdcad47cdcd9833e8 (patch)
treed8784726ee185797ca976b816d750fd6eca6fb76
parentsync (diff)
downloadwireguard-openbsd-7bd798083652e9761989368cdcad47cdcd9833e8.tar.xz
wireguard-openbsd-7bd798083652e9761989368cdcad47cdcd9833e8.zip
correct v6 handling; yanovich@psc.edu
-rw-r--r--usr.bin/systat/netstat.c7
1 files changed, 2 insertions, 5 deletions
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)