2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

404. [bug] The request library didn't completely work with IPv6.

This commit is contained in:
Brian Wellington 2000-08-23 19:47:00 +00:00
parent 1eb742c208
commit 1aae88078f
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,6 @@
404. [bug] The request library didn't completely work with IPv6.
403. [bug] "host" did not use the search list. 403. [bug] "host" did not use the search list.
402. [bug] Treat undefined acls as errors, rather than 402. [bug] Treat undefined acls as errors, rather than

View File

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * 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 <config.h> #include <config.h>
@ -503,7 +503,7 @@ dns_request_create(dns_requestmgr_t *requestmgr, dns_message_t *message,
isc_sockettype_tcp, &socket); isc_sockettype_tcp, &socket);
if (result != ISC_R_SUCCESS) if (result != ISC_R_SUCCESS)
goto cleanup; goto cleanup;
isc_sockaddr_any(&bind_any); isc_sockaddr_anyofpf(&bind_any, isc_sockaddr_pf(address));
result = isc_socket_bind(socket, &bind_any); result = isc_socket_bind(socket, &bind_any);
if (result != ISC_R_SUCCESS) { if (result != ISC_R_SUCCESS) {
isc_socket_detach(&socket); isc_socket_detach(&socket);