[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#705900: check_ping fail if host do not have IPv6 address



Hi,

Am Montag, den 13.05.2013, 15:40 +0200 schrieb Lennart Poettering:
> On Mon, 13.05.13 10:03, Joachim Breitner (nomeata@debian.org) wrote:
> > 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?

I am aware of them, but I was not sure how, if at all, that would print
scope ids, and wanted to reduce the possible points where the
information might be lost.

BTW, were you able to reproduce the problem on your system?

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: