Rick Jones wrote: > Ronan Flood <[EMAIL PROTECTED]> 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. Danny _______________________________________________ questions mailing list [email protected] https://lists.ntp.isc.org/mailman/listinfo/questions
