From d8ec783e6dc0bd16a80b30d9888306b1faae6037 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 16 Aug 2002 00:05:57 +0000 Subject: [PATCH] reviewed: jinmei who: marka 1359. [bug] remove IF_RUNNING test when scanning interfaces. --- CHANGES | 2 ++ lib/isc/unix/ifiter_ioctl.c | 8 +------- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/CHANGES b/CHANGES index 103277fb42..e53f29c569 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 455afb66f0..43b5e603c0 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;