changeset 4625:a36f70eb5b98

rm code that has no effect Until late 2007, it set a variable showing that ipv6 was working.
author corvid
date Mi, 06 Jul 2016 06:07:39 +0000
parents 3bc54a04e255
children 44077e31f39c
files src/dns.c
diffstat 1 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/src/dns.c	Mi Jul 06 05:46:12 2016 +0000
+++ b/src/dns.c	Mi Jul 06 06:07:39 2016 +0000
@@ -210,17 +210,6 @@
       dns_server[i].th1 = (pthread_t) -1;
 #endif
    }
-
-#ifdef ENABLE_IPV6
-   /* IPv6 test */
-   {
-      /* If the IPv6 address family is not available there is no point
-         wasting time trying to connect to v6 addresses. */
-      int fd = socket(AF_INET6, SOCK_STREAM, 0);
-      if (fd >= 0)
-         dClose(fd);
-   }
-#endif
 }
 
 /*