This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/5507] gai() sorting is broken
- From: "aurelien at aurel32 dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 18 Dec 2007 17:05:03 -0000
- Subject: [Bug libc/5507] gai() sorting is broken
- References: <20071218092642.5507.madcoder@debian.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From aurelien at aurel32 dot net 2007-12-18 17:05 -------
Additional information:
# getent ahosts ftp.fi.debian.org
130.230.54.99 STREAM ftp.fi.debian.org
130.230.54.99 DGRAM
130.230.54.99 RAW
2001:708:310:54::99 STREAM
2001:708:310:54::99 DGRAM
2001:708:310:54::99 RAW
# ip addr add 2001:708:310:54::1/64 dev eth0
# getent ahosts ftp.fi.debian.org
2001:708:310:54::99 STREAM ftp.fi.debian.org
2001:708:310:54::99 DGRAM
2001:708:310:54::99 RAW
130.230.54.99 STREAM
130.230.54.99 DGRAM
130.230.54.99 RAW
So the IPv6 vs IPv4 order actually depends on the local address. This is with
an unmodified gai.conf.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5507
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.