mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
enabled previously #if 0'ed-out code to bind resolver sockets to
the wildcard address, as a temporary (?) fix for the server failing with 'socket is not bound' during startup
This commit is contained in:
parent
33e0be00e3
commit
27fd91edc3
1 changed files with 2 additions and 2 deletions
|
|
@ -3994,7 +3994,7 @@ dns_resolver_create(dns_view_t *view,
|
|||
if (result != ISC_R_SUCCESS)
|
||||
goto cleanup_buckets;
|
||||
isc_sockaddr_any(&saddr);
|
||||
#if 0 /* XXXMLG */
|
||||
#if 1 /* XXXMLG */
|
||||
result = isc_socket_bind(res->udpsocketv4, &saddr);
|
||||
if (result != ISC_R_SUCCESS)
|
||||
goto cleanup_udpsocketv4;
|
||||
|
|
@ -4031,7 +4031,7 @@ dns_resolver_create(dns_view_t *view,
|
|||
if (result != ISC_R_SUCCESS)
|
||||
goto cleanup_dispatchv4;
|
||||
isc_sockaddr_any6(&saddr);
|
||||
#if 0 /* XXXMLG */
|
||||
#if 1 /* XXXMLG */
|
||||
result = isc_socket_bind(res->udpsocketv6, &saddr);
|
||||
if (result != ISC_R_SUCCESS)
|
||||
goto cleanup_udpsocketv6;
|
||||
|
|
|
|||
Loading…
Reference in a new issue