[systemd-devel] [PATCH 1/2] Ignore IPv6 link-local addresses

Eelco Dolstra eelco.dolstra at logicblox.com
Mon Feb 4 08:24:57 PST 2013


On 04/02/13 16:36, Mantas Mikulėnas wrote:

> In other words, the scope ID is filled in correctly when I request
> AF_UNSPEC, but it's empty for AF_INET6. 

Hm, interesting.  I see now that curl without -6 does connect correctly to the
link-local address, so the failure with -6 is probably caused by this.  There
was a Glibc bug about this:


However, even with Glibc 2.17 (which should have the patch provided there),
getaddrinfo() with AF_INET6 still returns a zero scopeid.

Will investigate further...

Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/

More information about the systemd-devel mailing list