diff options
Diffstat (limited to 'generic/tclIOSock.c')
-rw-r--r-- | generic/tclIOSock.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/generic/tclIOSock.c b/generic/tclIOSock.c index 768428f..aabd67d 100644 --- a/generic/tclIOSock.c +++ b/generic/tclIOSock.c @@ -178,14 +178,6 @@ TclCreateSocketAddress( } hints.ai_socktype = SOCK_STREAM; -#if 0 - /* - * We found some problems when using AI_ADDRCONFIG, e.g. on systems that - * have no networking besides the loopback interface and want to resolve - * localhost. See bugs 3385024, 3382419, 3382431. As the advantage of - * using AI_ADDRCONFIG in situations where it works, is probably low, - * we'll leave it out for now. After all, it is just an optimisation. - */ #if defined(AI_ADDRCONFIG) && !defined(_AIX) && !defined(__hpux) /* * Missing on: OpenBSD, NetBSD. @@ -193,7 +185,6 @@ TclCreateSocketAddress( */ hints.ai_flags |= AI_ADDRCONFIG; #endif -#endif if (willBind) { hints.ai_flags |= AI_PASSIVE; } |