diff options
author | corvid <devnull@localhost> | 2016-07-06 06:07:39 +0000 |
---|---|---|
committer | corvid <devnull@localhost> | 2016-07-06 06:07:39 +0000 |
commit | 61e86fe3dfaf4fa96cb5207e69bde51c7869f96e (patch) | |
tree | 7c2627bccd649a3f04a444eded9a7a010a93f402 | |
parent | adddd659718d545e893a1a59c72007295d183f24 (diff) |
rm code that has no effect
Until late 2007, it set a variable showing that ipv6 was working.
-rw-r--r-- | src/dns.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -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 } /* |