This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug network/12377] getaddrinfo() should disregard link-local IPv6 addresses for AI_ADDRCONFIG purposes


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]