Bug#573456: libc6: getaddrinfo() equates AF_UNSPEC with AF_INET for passive lockups
Mats Erik Andersson a écrit :
> Package: libc6
> Version: 2.10.2-2
> Severity: important
>
> The eglibc implementation of getaddrinfo() for passive sockets
> (AI_PASSIVE) breaks established functionality when used with
> address family AF_UNSPEC. The resulting code is only able to
> listen to IPv4 under eglibc-2.10.2. This contradicts expected
> functionality, and it also contradicts the statements and the
> example found in the manual page getaddrinfo(3).
>
Do you have more details about your problems? I have just tried a simple
code, and getaddrinfo() correctly returns one address with IPv4, and one
with IPv6.
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
Reply to: