]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1611. [bug] solaris: IPv6 interface scanning failed to cope with
authorMark Andrews <marka@isc.org>
Thu, 15 Apr 2004 07:02:06 +0000 (07:02 +0000)
committerMark Andrews <marka@isc.org>
Thu, 15 Apr 2004 07:02:06 +0000 (07:02 +0000)
                        no active IPv6 interfaces.

CHANGES
lib/isc/unix/ifiter_ioctl.c

diff --git a/CHANGES b/CHANGES
index 69f290e41ea570278e12a47ac6e4a8221ad6dd86..6b47c6486ed0ba2ddeba663506b6299d9c91778a 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,5 @@
-1611.  [placeholder]   rt11065
+1611.  [bug]           solaris: IPv6 interface scanning failed to cope with
+                       no active IPv6 interfaces.
 
 1610.  [bug]           On dual stack machines "dig -b" failed to set the
                        address type to be looked up with "@server".
index ba0c45076a3d9fec269175dbb7f237df6ff825ed..b8fee5a62af7672440588410ca864a07b87de0d8 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ifiter_ioctl.c,v 1.44 2004/03/05 05:11:45 marka Exp $ */
+/* $Id: ifiter_ioctl.c,v 1.45 2004/04/15 07:02:06 marka Exp $ */
 
 /*
  * Obtain the list of network interfaces using the SIOCGLIFCONF ioctl.
@@ -267,7 +267,8 @@ getbuf6(isc_interfaceiter_t *iter) {
                iter->bufsize6 *= 2;
        }
 
-       iter->mode = 6;
+       if (iter->lifc.lifc_len != 0)
+               iter->mode = 6;
        return (ISC_R_SUCCESS);
 
  cleanup: