Bug#705900: check_ping fail if host do not have IPv6 address
On Mon, 13.05.13 10:03, Joachim Breitner (nomeata@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.
Reply to: