2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

1812. [port] win32: IN6_IS_ADDR_UNSPECIFIED macro is incorrect.

[RT #13453]
This commit is contained in:
Mark Andrews
2005-02-09 03:38:25 +00:00
parent 0ad024cc42
commit fde0a3f89b
2 changed files with 5 additions and 2 deletions

View File

@@ -1,3 +1,6 @@
1812. [port] win32: IN6_IS_ADDR_UNSPECIFIED macro is incorrect.
[RT #13453]
1811. [placeholder] rt13547
1810. [placeholder] rt13212

View 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 && \