Ethereal-dev: RE: [Ethereal-dev] hosts file is not read

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

From: "Francisco Alcoba (TS/EEM)" <francisco.alcoba@xxxxxxxxxxxx>
Date: Wed, 16 Mar 2005 07:51:16 +0100
Hi,

> I created a file called hosts (see attachment) a put it first 
> in C:\Documents and settings\<my user name>\Ethereal and then 
> in C:\Program Files\Ethereal, but no translation is made. I 
> compiled revision 13757. Ideas?

It should be under C:\Documents and settings\<my user name>\Application Data\Ethereal

Specifically, from epan\filesystem.c

 * Get the directory in which personal configuration files reside;
 * in UNIX-compatible systems, it's ".ethereal", under the user's home
 * directory, and on Windows systems, it's "Ethereal", under %APPDATA%
 * or, if %APPDATA% isn't set, it's "%USERPROFILE%\Application Data"
 * (which is what %APPDATA% normally is on Windows 2000).

Regards,

  Francisco