]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1812. [port] win32: IN6_IS_ADDR_UNSPECIFIED macro is incorrect.
authorMark Andrews <marka@isc.org>
Wed, 9 Feb 2005 03:38:25 +0000 (03:38 +0000)
committerMark Andrews <marka@isc.org>
Wed, 9 Feb 2005 03:38:25 +0000 (03:38 +0000)
                        [RT #13453]

CHANGES
lib/isc/win32/include/isc/ipv6.h

diff --git a/CHANGES b/CHANGES
index 82bc02e06bbe6fcaed7f195dd7eeecad6d139c04..d2db06b25509b56f1cf2bcdf7258d0634b9b4ba0 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+1812.  [port]          win32: IN6_IS_ADDR_UNSPECIFIED macro is incorrect.
+                       [RT #13453]
+
 1811.  [placeholder]   rt13547
 
 1810.  [placeholder]   rt13212
index db07a5299e43a353a9aed65e162c0bd746549f5a..5e485ed7708b88ecb0e4ac1348b33b5ccaa126a8 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ipv6.h,v 1.13 2004/04/19 04:16:55 marka Exp $ */
+/* $Id: ipv6.h,v 1.14 2005/02/09 03:38:25 marka Exp $ */
 
 #ifndef ISC_IPV6_H
 #define ISC_IPV6_H 1
@@ -61,7 +61,7 @@ LIBISC_EXTERNAL_DATA extern const struct in6_addr isc_in6addr_loopback;
  * Unspecified
  */
 #ifndef IN6_IS_ADDR_UNSPECIFIED
-#define IN6_IS_ADDR_UNSPECIFIED(a)      \
+#define IN6_IS_ADDR_UNSPECIFIED(a) (\
 *((u_long *)((a)->s6_addr)    ) == 0 && \
 *((u_long *)((a)->s6_addr) + 1) == 0 && \
 *((u_long *)((a)->s6_addr) + 2) == 0 && \