This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/6472] New: getaddrinfo() for localhost doesn't respect gai configuration


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]