This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/9981] getaddrinfo(NULL) with AI_PASSIVE returns 0.0.0.0 (IPv4-only) and :: (IPv6+IPv4) in this order
- From: "psimerda at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sun, 01 Jun 2014 09:26:21 +0000
- Subject: [Bug network/9981] getaddrinfo(NULL) with AI_PASSIVE returns 0.0.0.0 (IPv4-only) and :: (IPv6+IPv4) in this order
- Auto-submitted: auto-generated
- References: <bug-9981-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=9981
--- Comment #12 from Pavel Åimerda <psimerda at redhat dot com> ---
(In reply to Simon Arlott from comment #11)
> There is nothing getaddrinfo() can do about this. It would have been better
> to not have the bindv6only sysctl and require an explicit IPV6_V6ONLY=0 on
> the socket, but it's too late for that now.
Then I would say we should assume bindv6only won't change between the call to
getaddrinfo() and bind(). I know it's not 100% perfect but most systems don't
change the setting at runtime at all. It certainly better than the current
situation.
--
You are receiving this mail because:
You are on the CC list for the bug.