Marcos Onisto wrote:
> I'm not using using IPv6 here!
> 

That's not relevant here. If there are IPv6 addresses associated with
the name being looked up then getaddrinfo() will retrieve it and it will
be first on the list and if getaddrinfo() is not being told to only
retrieve IPv4 addresses you are likely to be in a situation where it
will get an IPv6 address and it will try and use it. That's what Rick
was trying to point out.

Danny
> On 2 Mar 2007 12:03:11 GMT, Ronan Flood <[EMAIL PROTECTED]> wrote:
>> Rick Jones <[EMAIL PROTECTED]> wrote:
>>
>>> It could be the case that getaddrinfo() (I trust ntpdate is calling
>>> getaddrinfo?) is returning more than one address and the IPv6 one
>>> happens to be first in the list - does ntpdate walk the list or just
>>> try the first one?
>> I think ntpdate 4.2.0 just uses the first returned address, and
>> now that Marcos has said he's running Solaris I've remembered
>> that ntpdate 4.2.0 on Solaris doesn't work with IPv6 anyway
>> because Solaris changes the IPv6 socket structure in a way which
>> ntpdate doesn't expect
>>
>>   http://lists.ntp.isc.org/pipermail/questions/2005-March/004535.html
>>
>> --
>> Ronan Flood <[EMAIL PROTECTED]>
>>
>> _______________________________________________
>> questions mailing list
>> [email protected]
>> https://lists.ntp.isc.org/mailman/listinfo/questions
>>
> _______________________________________________
> questions mailing list
> [email protected]
> https://lists.ntp.isc.org/mailman/listinfo/questions
> 

_______________________________________________
questions mailing list
[email protected]
https://lists.ntp.isc.org/mailman/listinfo/questions

Reply via email to