From 61e86fe3dfaf4fa96cb5207e69bde51c7869f96e Mon Sep 17 00:00:00 2001 From: corvid Date: Wed, 6 Jul 2016 06:07:39 +0000 Subject: rm code that has no effect Until late 2007, it set a variable showing that ipv6 was working. --- src/dns.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/dns.c b/src/dns.c index e288e8cc..f7d6baae 100644 --- a/src/dns.c +++ b/src/dns.c @@ -210,17 +210,6 @@ void a_Dns_init(void) 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 } /* -- cgit v1.2.3