]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2688. [bug] Use INTERFACE_F_POINTTOPOINT, not IFF_POINTOPOINT,
authorMark Andrews <marka@isc.org>
Thu, 24 Sep 2009 06:43:52 +0000 (06:43 +0000)
committerMark Andrews <marka@isc.org>
Thu, 24 Sep 2009 06:43:52 +0000 (06:43 +0000)
                        to decide to fetch the destination address. [RT #20305]

CHANGES
lib/isc/unix/ifiter_getifaddrs.c

diff --git a/CHANGES b/CHANGES
index b082375c477ba658a2c35b4e6fc38a67e6786419..25813db7832cd940f310739406173f2096ebfe49 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+2688.  [bug]           Use INTERFACE_F_POINTTOPOINT, not IFF_POINTOPOINT,
+                       to decide to fetch the destination address. [RT #20305]
+
 2681.  [bug]           IPSECKEY RR of gateway type 3 was not correctly
                        decoded. [RT #20269]
 
index 3599a89355ddbf6ac9f2b0131b9e432413b2609d..a4e9072a0f5c2d67dfaafb5439130e7d415829eb 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ifiter_getifaddrs.c,v 1.4.18.5 2007/08/28 07:20:06 tbox Exp $ */
+/* $Id: ifiter_getifaddrs.c,v 1.4.18.6 2009/09/24 06:43:52 marka Exp $ */
 
 /*! \file
  * \brief
@@ -148,7 +148,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);