Bug#442157: getaddrinfo() does not prefer IPv6 address over IPv4 one

2007-09-13 Thread Aurelien Jarno
Petr Tesarik a écrit : > On Thu, Sep 13, 2007 at 05:58:43PM +0200, Aurelien Jarno wrote: >> Version: 2.4-1 >> >> [...] >> >> This is fixed since glibc version 2.4-1. > > Good to know... So, will there be a glibc upgrade for etch? > I don't think this kind of bug is important enough to warrant a

Bug#442157: getaddrinfo() does not prefer IPv6 address over IPv4 one

2007-09-13 Thread Petr Tesarik
Package: libc6 Version: 2.3.6.ds1-13 Severity: important getaddrinfo() does not prefer IPv6 addresses, even though it should according to RFC 3484. I have debugged the issue and it all boils down to match_prefix() in sysdeps/posix/getaddrinfo.c. The prefix test runs like this: while (bits