Ethereal-dev: Re: [Ethereal-dev] Doubts about IPv6 name resolution

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Wed, 30 Jan 2002 00:49:38 -0800
On Fri, Jan 18, 2002 at 12:54:21AM -0800, Guy Harris wrote:
> So perhaps our strategy for IPv6 address-to-name resolution should be:
> 
> 	if the platform has "getnameinfo()", use it;
> 
> 	otherwise, if the platform has "getipnodebyname()", use it;
> 
> 	otherwise, use "gethostbyaddr()", and hope it handles AF_INET6.

I've checked in your patch, and left it just using "gethostbyaddr()",
which is what we've always done; it works on enough other platforms that
I suspect Sun won't remove support for that any time in the near future.

I'll check it on the Solaris 8 machines at work.