mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-23 01:40:23 -05:00
4150. [bug] win32: listen-on-v6 { any; }; was not working. Apply
minimal fix. [RT #39667]
(cherry picked from commit 753b27a7d3)
This commit is contained in:
parent
d19dfe8793
commit
0a4dd766f6
2 changed files with 12 additions and 0 deletions
3
CHANGES
3
CHANGES
|
|
@ -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()
|
||||
implementation in libirs. [RT #39899]
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue