Commit 753b27a7 authored by Mark Andrews's avatar Mark Andrews
Browse files

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

                        minimal fix.  [RT #39667]
parent d6b82bc2
4150. [bug] win32: listen-on-v6 { any; }; was not working. Apply
minimal fix. [RT #39667]
4149. [bug] Fixed a race condition in the getaddrinfo()
implementation in libirs, which caused the delv
utility to crash with an assertion failure when using
......
......@@ -209,6 +209,12 @@ initialize_ipv6only(void) {
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
try_ipv6pktinfo(void) {
SOCKET s;
......@@ -262,6 +268,7 @@ initialize_ipv6pktinfo(void) {
RUNTIME_CHECK(isc_once_do(&once_ipv6pktinfo,
try_ipv6pktinfo) == ISC_R_SUCCESS);
}
#endif /* __notyet__ */
#endif /* WANT_IPV6 */
#endif /* ISC_PLATFORM_HAVEIPV6 */
......@@ -279,6 +286,7 @@ isc_net_probe_ipv6only(void) {
isc_result_t
isc_net_probe_ipv6pktinfo(void) {
#ifdef __notyet__
#ifdef ISC_PLATFORM_HAVEIPV6
#ifdef WANT_IPV6
initialize_ipv6pktinfo();
......@@ -286,6 +294,7 @@ isc_net_probe_ipv6pktinfo(void) {
ipv6pktinfo_result = ISC_R_NOTFOUND;
#endif
#endif
#endif /* __notyet__ */
return (ipv6pktinfo_result);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment