Bug#456779: glibc: getaddrinfo() sorting broken
Package: glibc
Version: 2.7-3
Severity: important
$ getent ahosts ftp.fi.debian.org.
130.230.54.99 DGRAM ftp.fi.debian.org
130.230.54.99 RAW
2001:708:310:54::99 STREAM
2001:708:310:54::99 DGRAM
2001:708:310:54::99 RAW
130.230.54.99 STREAM
The 3 INET6 addresses should come first, followed by the INET ones.
Cheers,
Julien
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Reply to: