reviewed: jinmei
who: marka 1359. [bug] remove IF_RUNNING test when scanning interfaces.
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user