Warning about IPV6

This commit is contained in:
Stephane Bortzmeyer 2004-07-27 14:36:26 +00:00
parent cbd05dbeb3
commit 0a1f940135

View File

@ -158,6 +158,7 @@ start (struct addrinfo *res)
else if (name_server_sockaddr.sa_family == AF_INET6)
{
/* TODO: the code for IPv6 servers is hopelessly broken. Start again */
fprintf (stderr, "WARNING: IPv6 nameservers not really supported yet (experts may apply). Falling back to IPv4 and the default server. You may use -4, too\n");
#ifdef HAVE_RES_EXT
/* Converts a generic sockaddr to an IPv6 sockaddr_in6 */
(void) memcpy ((void *) &name_server_sockaddr_in6,