aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcorvid <devnull@localhost>2016-07-06 06:07:39 +0000
committercorvid <devnull@localhost>2016-07-06 06:07:39 +0000
commit61e86fe3dfaf4fa96cb5207e69bde51c7869f96e (patch)
tree7c2627bccd649a3f04a444eded9a7a010a93f402 /src
parentadddd659718d545e893a1a59c72007295d183f24 (diff)
rm code that has no effect
Until late 2007, it set a variable showing that ipv6 was working.
Diffstat (limited to 'src')
-rw-r--r--src/dns.c11
1 files changed, 0 insertions, 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
}
/*