diff options
author | ume <ume@FreeBSD.org> | 2001-02-19 13:13:51 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2001-02-19 13:13:51 +0000 |
commit | 4c1233433d4d46f6e4a755a79944ded2cc7e5420 (patch) | |
tree | e0a1daa904d90368c9eb134b9933486d7756ba19 /lib/libc/net/getaddrinfo.c | |
parent | 75c4cc264f05d01d27e76c1cbcfab54925d74f4a (diff) | |
download | FreeBSD-src-4c1233433d4d46f6e4a755a79944ded2cc7e5420.zip FreeBSD-src-4c1233433d4d46f6e4a755a79944ded2cc7e5420.tar.gz |
Enable AI_ADDRCONFIG as a valid flag of getaddrinfo(3). Some
applications specify AI_ADDRCONFIG and fail to run under FreeBSD.
Latest mews is known. Now, getaddrinfo(3) behaves according to
AI_ADDRCONFIG.
Diffstat (limited to 'lib/libc/net/getaddrinfo.c')
-rw-r--r-- | lib/libc/net/getaddrinfo.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/libc/net/getaddrinfo.c b/lib/libc/net/getaddrinfo.c index 9e498e5..a06114b 100644 --- a/lib/libc/net/getaddrinfo.c +++ b/lib/libc/net/getaddrinfo.c @@ -82,7 +82,6 @@ * - AI_ADDRCONFIG support is supplied * - EDNS0 support is not available due to resolver differences * - some of FreeBSD style (#define tabify and others) - * - AI_ADDRCONFIG is turned on by default. * - classful IPv4 numeric (127.1) is allowed. */ @@ -522,10 +521,6 @@ getaddrinfo(hostname, servname, hints, res) if (hostname == NULL) ERR(EAI_NODATA); -#if 1 - /* XXX: temporarily, behave as if AI_ADDRCONFIG is specified */ - pai->ai_flags |= AI_ADDRCONFIG; -#endif if ((pai->ai_flags & AI_ADDRCONFIG) != 0 && !addrconfig(&ai0)) ERR(EAI_FAIL); |