Ethereal-dev: Re: [Ethereal-dev] Crashes on Win98 and WinME fixed

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: Fri, 07 Jan 2005 04:51:43 -0800
Lars Roland wrote:

Why do we try to read the hosts file here (Just before initializing ADNS). Do we hand over anything to ADNS? If we just use the hosts file as an additional source for name resolution, shouldn't we read the hosts file anyway, independent of having ADNS or not?

If we're not using ADNS, we're using "gethostbyaddr()", which, at least on most UN*Xes, is typically configured to search "/etc/hosts".