On Mon, 13.05.13 10:03, Joachim Breitner (nome...@debian.org) wrote:

> Hi,
> 
> I got more information: If, in the attached example test.c, the
> ai_family field of the hints argument to getaddrinfo is set to
> "AF_UNSPEC", then I do get the correct scope id in the returned data
> structure.
> 
> If the hint is set to AF_INET6, I don’t (but I also do not get the
> debugging information that I put into libnss-myhostname, so I might just
> not fully understand what’s going on here).

BTW, you are aware of "getent ahosts" and "getent ahostsv6" which pretty
much do what your test tool does?

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

Reply via email to