mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
2688. [bug] Use INTERFACE_F_POINTTOPOINT, not IFF_POINTOPOINT,
to decide to fetch the destination address. [RT #20305]
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: ifiter_getifaddrs.c,v 1.11 2008/03/20 23:47:00 tbox Exp $ */
|
||||
/* $Id: ifiter_getifaddrs.c,v 1.12 2009/09/24 06:37:50 marka Exp $ */
|
||||
|
||||
/*! \file
|
||||
* \brief
|
||||
@@ -181,7 +181,7 @@ internal_current(isc_interfaceiter_t *iter) {
|
||||
ifa->ifa_name);
|
||||
|
||||
if (ifa->ifa_dstaddr != NULL &&
|
||||
(iter->current.flags & IFF_POINTOPOINT) != 0)
|
||||
(iter->current.flags & INTERFACE_F_POINTTOPOINT) != 0)
|
||||
get_addr(family, &iter->current.dstaddress, ifa->ifa_dstaddr,
|
||||
ifa->ifa_name);
|
||||
|
||||
|
Reference in New Issue
Block a user