artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74d4af9
)
sync with rev 1.99 of sbin/route/show.c
author
benno
<benno@openbsd.org>
Mon, 27 Apr 2015 09:54:04 +0000
(09:54 +0000)
committer
benno
<benno@openbsd.org>
Mon, 27 Apr 2015 09:54:04 +0000
(09:54 +0000)
requested by claudio@ and mpi@
usr.bin/netstat/show.c
patch
|
blob
|
history
diff --git
a/usr.bin/netstat/show.c
b/usr.bin/netstat/show.c
index
a843e3e
..
33c3ad0
100644
(file)
--- a/
usr.bin/netstat/show.c
+++ b/
usr.bin/netstat/show.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: show.c,v 1.4
7 2015/02/12 23:31:12 claudio Exp $
*/
+/* $OpenBSD: show.c,v 1.4
8 2015/04/27 09:54:04 benno Exp $
*/
/* $NetBSD: show.c,v 1.1 1996/11/15 18:01:41 gwr Exp $ */
/*
@@
-158,8
+158,6
@@
p_rttables(int af, u_int tableid)
if (rtm->rtm_version != RTM_VERSION)
continue;
sa = (struct sockaddr *)(next + rtm->rtm_hdrlen);
- if (af != AF_UNSPEC && sa->sa_family != af)
- continue;
p_rtentry(rtm);
}
}