reviewed: jinmei

who: marka
1359.   [bug]           remove IF_RUNNING test when scanning interfaces.
This commit is contained in:
Mark Andrews
2002-08-16 00:05:57 +00:00
parent 52230facc1
commit d8ec783e6d
2 changed files with 3 additions and 7 deletions
+2
View File
@@ -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.
+1 -7
View 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;