]> 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 04:08:43 +0000 (04:08 +0000)
committerMark Andrews <marka@isc.org>
Wed, 9 Feb 2005 04:08:43 +0000 (04:08 +0000)
                        [RT #13453]

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

index 478ad8115793f907df78400ac37b9d15019cb8a1..7ba769caa2b47775e0196e5a1967230139ac76a4 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ipv6.h,v 1.9.2.3 2004/03/09 06:12:23 marka Exp $ */
+/* $Id: ipv6.h,v 1.9.2.4 2005/02/09 04:08:43 marka Exp $ */
 
 #ifndef ISC_IPV6_H
 #define ISC_IPV6_H 1
@@ -57,7 +57,7 @@ struct in6_pktinfo {
  * Unspecified
  */
 
-#define IN6_IS_ADDR_UNSPECIFIED(x)      \
+#define IN6_IS_ADDR_UNSPECIFIED(x) (\
 *((u_long *)((x)->s6_addr)    ) == 0 && \
 *((u_long *)((x)->s6_addr) + 1) == 0 && \
 *((u_long *)((x)->s6_addr) + 2) == 0 && \