]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1211. [func] Enable IPv6 support when using sysctl style interface
authorMark Andrews <marka@isc.org>
Thu, 30 May 2002 01:24:12 +0000 (01:24 +0000)
committerMark Andrews <marka@isc.org>
Thu, 30 May 2002 01:24:12 +0000 (01:24 +0000)
                        scanning.

CHANGES
lib/isc/unix/ifiter_sysctl.c

diff --git a/CHANGES b/CHANGES
index 56b1e307e77633b872af789300412c851736dbb5..e56c6b3c0842f17b2bda3098f904d967c717d5d4 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+1211.  [func]          Enable IPv6 support when using sysctl style interface
+                       scanning.
+
 1210.  [func]          "dig axfr" now reports the number of messages
                        as well as the number of records.
 
index 5fdbf77fb12dcd0a2639c8a74b8759eb0b88fa1d..a768d7da622b22b97b7d9493854243ca0d5eed4c 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ifiter_sysctl.c,v 1.16 2001/11/27 01:56:15 gson Exp $ */
+/* $Id: ifiter_sysctl.c,v 1.17 2002/05/30 01:24:12 marka Exp $ */
 
 /*
  * Obtain the list of network interfaces using sysctl.
@@ -238,7 +238,7 @@ internal_current(isc_interfaceiter_t *iter) {
                        return (ISC_R_IGNORE);
 
                family = addr_sa->sa_family;
-               if (family != AF_INET) /* XXX IP6 */
+               if (family != AF_INET && family != AF_INET6)
                        return (ISC_R_IGNORE);
 
                iter->current.af = family;