From 27fd91edc3b49de1a6f57c55da5425f80379a8f0 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Mon, 15 May 2000 05:09:13 +0000 Subject: [PATCH] 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 --- lib/dns/resolver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index 1753fec8c5..65576f137f 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -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;