2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

4150. [bug] win32: listen-on-v6 { any; }; was not working. Apply

minimal fix.  [RT #39667]
This commit is contained in:
Mark Andrews
2015-07-01 11:51:45 +10:00
parent d6b82bc2ae
commit 753b27a7d3
2 changed files with 12 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
4150. [bug] win32: listen-on-v6 { any; }; was not working. Apply
minimal fix. [RT #39667]
4149. [bug] Fixed a race condition in the getaddrinfo() 4149. [bug] Fixed a race condition in the getaddrinfo()
implementation in libirs, which caused the delv implementation in libirs, which caused the delv
utility to crash with an assertion failure when using utility to crash with an assertion failure when using

View File

@@ -209,6 +209,12 @@ initialize_ipv6only(void) {
try_ipv6only) == ISC_R_SUCCESS); try_ipv6only) == ISC_R_SUCCESS);
} }
#ifdef __notyet__
/*
* XXXMPA requires win32/socket.c to be updated to support
* WSASendMsg and WSARecvMsg which are themselves Winsock
* and compiler version dependent.
*/
static void static void
try_ipv6pktinfo(void) { try_ipv6pktinfo(void) {
SOCKET s; SOCKET s;
@@ -262,6 +268,7 @@ initialize_ipv6pktinfo(void) {
RUNTIME_CHECK(isc_once_do(&once_ipv6pktinfo, RUNTIME_CHECK(isc_once_do(&once_ipv6pktinfo,
try_ipv6pktinfo) == ISC_R_SUCCESS); try_ipv6pktinfo) == ISC_R_SUCCESS);
} }
#endif /* __notyet__ */
#endif /* WANT_IPV6 */ #endif /* WANT_IPV6 */
#endif /* ISC_PLATFORM_HAVEIPV6 */ #endif /* ISC_PLATFORM_HAVEIPV6 */
@@ -279,6 +286,7 @@ isc_net_probe_ipv6only(void) {
isc_result_t isc_result_t
isc_net_probe_ipv6pktinfo(void) { isc_net_probe_ipv6pktinfo(void) {
#ifdef __notyet__
#ifdef ISC_PLATFORM_HAVEIPV6 #ifdef ISC_PLATFORM_HAVEIPV6
#ifdef WANT_IPV6 #ifdef WANT_IPV6
initialize_ipv6pktinfo(); initialize_ipv6pktinfo();
@@ -286,6 +294,7 @@ isc_net_probe_ipv6pktinfo(void) {
ipv6pktinfo_result = ISC_R_NOTFOUND; ipv6pktinfo_result = ISC_R_NOTFOUND;
#endif #endif
#endif #endif
#endif /* __notyet__ */
return (ipv6pktinfo_result); return (ipv6pktinfo_result);
} }