From 1aae88078f409b39c24e2313ffdd767ed29ac787 Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Wed, 23 Aug 2000 19:47:00 +0000 Subject: [PATCH] 404. [bug] The request library didn't completely work with IPv6. --- CHANGES | 2 ++ lib/dns/request.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 12463ed4a9..a158ff6495 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,6 @@ + 404. [bug] The request library didn't completely work with IPv6. + 403. [bug] "host" did not use the search list. 402. [bug] Treat undefined acls as errors, rather than diff --git a/lib/dns/request.c b/lib/dns/request.c index 9ae1539557..d7bef0ca34 100644 --- a/lib/dns/request.c +++ b/lib/dns/request.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: request.c,v 1.34 2000/08/15 01:43:34 marka Exp $ */ +/* $Id: request.c,v 1.35 2000/08/23 19:46:58 bwelling Exp $ */ #include @@ -503,7 +503,7 @@ dns_request_create(dns_requestmgr_t *requestmgr, dns_message_t *message, isc_sockettype_tcp, &socket); if (result != ISC_R_SUCCESS) goto cleanup; - isc_sockaddr_any(&bind_any); + isc_sockaddr_anyofpf(&bind_any, isc_sockaddr_pf(address)); result = isc_socket_bind(socket, &bind_any); if (result != ISC_R_SUCCESS) { isc_socket_detach(&socket);