[ntp:questions] Doubt about Syncronization of GPS SPECTRACOM(2)

Danny Mayer mayer at ntp.isc.org
Thu Mar 8 01:51:09 UTC 2007

Rick Jones wrote:
> Ronan Flood <usenet at umbral.org.uk> wrote:
>> ntpdate has been updated since 4.2.0, and now walks the list of
>> returned addresses.  It doesn't use AI_ADDRCONFIG but does call
>> isc_net_probeipv6() to see if IPv6 is available, which might amount
>> to the same thing.
> I guess it depends on whether or not ntpdate wants to see IP addresses
> it won't use - ie filter/ignore them itself rather than letting
> getaddrinfo do it.
> rick jones

The code checks to see if IPv6 is enabled and sets af_family to either
AF_UNSPEC or AF_INET depending on whether or not IPv6 is enabled or not.
Unfortunately AI_ADDRCONFIG is not availabe on all platforms so we don't
use it.


More information about the questions mailing list