Using AF_INET6 when creating an IPv6 socket helps a lot!

This commit is contained in:
Bob Halley 1999-11-02 00:56:49 +00:00
parent 1f94705de9
commit fea89edbab

View file

@ -2606,7 +2606,7 @@ dns_resolver_create(dns_view_t *view,
/*
* Create an IPv6 UDP socket and a dispatcher for it.
*/
result = isc_socket_create(socketmgr, AF_INET,
result = isc_socket_create(socketmgr, AF_INET6,
isc_sockettype_udp,
&res->udpsocket6);
if (result != ISC_R_SUCCESS)