[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug libc/5507] gai() sorting is broken



------- 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 reported the bug, or are watching the reporter.
You are on the CC list for the bug, or are watching someone who is.


Reply to: