From: benno Date: Mon, 27 Apr 2015 09:54:04 +0000 (+0000) Subject: sync with rev 1.99 of sbin/route/show.c X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=18999c3aa9ec84df9b050421ef6466107de0b926;p=openbsd sync with rev 1.99 of sbin/route/show.c requested by claudio@ and mpi@ --- diff --git a/usr.bin/netstat/show.c b/usr.bin/netstat/show.c index a843e3e44c6..33c3ad079b6 100644 --- a/usr.bin/netstat/show.c +++ b/usr.bin/netstat/show.c @@ -1,4 +1,4 @@ -/* $OpenBSD: show.c,v 1.47 2015/02/12 23:31:12 claudio Exp $ */ +/* $OpenBSD: show.c,v 1.48 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); } }