On Tue, 07.05.13 12:43, Noah Meyerhans (no...@debian.org) wrote: > On Tue, May 07, 2013 at 04:25:40PM +0200, Petter Reinholdtsen wrote: > > I do not know IPv6 addressing or the glibc internals well enough to > > form an opinion on this, but I do not understand your argument. ping6 > > and libc can know from the values in the IPv6 address if it is a > > link-local address or not, and if it is a link-local address, it need > > the scope. Why isn't that enough to implement handling of this issue > > in ping6 and libc? > > Because unless you explicitly specify a scope ID, the kernel and libc > cannot infer them. This is why you need to specify the scope ID when > pinging a link-local address.
As mentioned, nss-myhostname provides the scope ID field filled in correctly to glibc. If this information is somehow lost on the way to the caller of getaddrinfo(), then this is a fuckup in glibc, and that's it. Lennart -- Lennart Poettering - Red Hat, Inc. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org