This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/12377] getaddrinfo() should disregard link-local IPv6 addresses for AI_ADDRCONFIG purposes
- From: "psimerda at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Sun, 29 Jul 2012 10:41:38 +0000
- Subject: [Bug network/12377] getaddrinfo() should disregard link-local IPv6 addresses for AI_ADDRCONFIG purposes
- Auto-submitted: auto-generated
- References: <bug-12377-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12377
--- Comment #14 from Pavel Åimerda <psimerda at redhat dot com> 2012-07-29 10:41:38 UTC ---
Just a correction of AF_UNSPEC, another test says AF_UNSPEC with AI_ADDRCONFIG
works (or rather, fails) in the same way as specific families. This behavior
probably depends on some other circumstances.
The test where AF_UNSPEC does something and breaks IPv6 localhost is made with
IPv4 connectivity and with IPv6 link-local addresses (connected to an IPv4-only
network).
The test where AF_UNSPEC does nothing is made without connectivity and without
link. In the current kernel (I think it used to be different), disconnected
interfaces that are UP don't get IPv6 link-local addresses. So this test was
also without IPv6 link-local.
These behavioral changes are weird and should be perfectly documented in the
manpage if they are to be present at all.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.