]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
reviewed: jinmei
authorMark Andrews <marka@isc.org>
Fri, 16 Aug 2002 00:05:57 +0000 (00:05 +0000)
committerMark Andrews <marka@isc.org>
Fri, 16 Aug 2002 00:05:57 +0000 (00:05 +0000)
who: marka
1359.   [bug]           remove IF_RUNNING test when scanning interfaces.

CHANGES
lib/isc/unix/ifiter_ioctl.c

diff --git a/CHANGES b/CHANGES
index 103277fb42d0ecfcb0b235e6e75d724065b02c54..e53f29c569ec9653d4429247effffc3f28a6a8a4 100644 (file)
--- 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.
 
index 455afb66f0b20ab306c45015bee64610b3591b58..43b5e603c0020d5f672bc1f32978c2f68f3953d3 100644 (file)
@@ -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;