This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6472] New: getaddrinfo() for localhost doesn't respect gai configuration
- From: "petr dot pisar at atlas dot cz" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 1 May 2008 12:36:45 -0000
- Subject: [Bug libc/6472] New: getaddrinfo() for localhost doesn't respect gai configuration
- Reply-to: sourceware-bugzilla at sourceware dot org
Resolving "localhost" using getaddrinfo(3) without any address family preference
returns always "127.0.0.1" before "::1" despite /etc/gai.conf configuration on
glibc-2.6.1.
::1/128 has highest preference in my configuration (and in the default one
according RFC 3484 too), thus I expect reverse list (::1, 127.0.0.1).
--
Summary: getaddrinfo() for localhost doesn't respect gai
configuration
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: petr dot pisar at atlas dot cz
CC: glibc-bugs at sources dot redhat dot com
GCC host triplet: i686-pc-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=6472
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.