Ethereal-users: Re: [Ethereal-users] Ethereal shows this machine name for IP 0.0.0.0

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Thu, 20 Dec 2001 11:22:59 -0800 (PST)
> Ethereal converts a source IP address to whatever the "gethostbyname()"
							 ^^^^^^^^^^^^^^^
							 gethostbyaddr()
> routine, on the platform on which you're running, returns as the name.
> 
> I have no idea why "gethostbyname()" translated 0.0.0.0 to the name of
		      ^^^^^^^^^^^^^^^
		      gethostbyaddr()
> your host on W2K; you might want to check with Microsoft on that.

I've checked in a hack to work around that particular Windows bogosity,
by not bothering to hand all-zero IP addresses to "gethostbyaddr()".

That only fixes Ethereal, of course; other programs may well still let
that particular bogosity through.