Sources Bugzilla – Attachment #5236: Patch to make getaddrinfo() ignore link-local addresses for AI_ADDRCONFIG for bug #12377
}
else
{
if (!IN6_IS_ADDR_LOOPBACK (address))
if (!IN6_IS_ADDR_LOOPBACK (address) &&
!IN6_IS_ADDR_LINKLOCAL (address))
*seen_ipv6 = true;