From: Mark Andrews Date: Fri, 16 Aug 2002 00:05:57 +0000 (+0000) Subject: reviewed: jinmei X-Git-Tag: v9.2.3rc1~104^2~377 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=d8ec783e6dc0bd16a80b30d9888306b1faae6037;p=thirdparty%2Fbind9.git reviewed: jinmei who: marka 1359. [bug] remove IF_RUNNING test when scanning interfaces. --- diff --git a/CHANGES b/CHANGES index 103277fb42d..e53f29c569e 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +1359. [bug] remove IF_RUNNING test when scanning interfaces. + 1358. [func] log the reason for rejecting a server when resolving queries. diff --git a/lib/isc/unix/ifiter_ioctl.c b/lib/isc/unix/ifiter_ioctl.c index 455afb66f0b..43b5e603c00 100644 --- a/lib/isc/unix/ifiter_ioctl.c +++ b/lib/isc/unix/ifiter_ioctl.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: ifiter_ioctl.c,v 1.33 2002/07/03 06:25:32 marka Exp $ */ +/* $Id: ifiter_ioctl.c,v 1.34 2002/08/16 00:05:57 marka Exp $ */ /* * Obtain the list of network interfaces using the SIOCGLIFCONF ioctl. @@ -441,9 +441,6 @@ internal_current4(isc_interfaceiter_t *iter) { return (ISC_R_IGNORE); } - if ((ifreq.ifr_flags & IFF_RUNNING) == 0) - return (ISC_R_IGNORE); - if ((ifreq.ifr_flags & IFF_UP) != 0) iter->current.flags |= INTERFACE_F_UP; @@ -613,9 +610,6 @@ internal_current6(isc_interfaceiter_t *iter) { return (ISC_R_IGNORE); } - if ((lifreq.lifr_flags & IFF_RUNNING) == 0) - return (ISC_R_IGNORE); - if ((lifreq.lifr_flags & IFF_UP) != 0) iter->current.flags |= INTERFACE_F_UP;