Ethereal-dev: Re: [Ethereal-dev] resolving of well-known mac-addresses

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, 28 Aug 2002 02:06:49 -0700
On Wed, Aug 28, 2002 at 10:36:58AM +0200, Hannes Gredler wrote:
> find attached a patch that allows protocol dissectors to
> register their well known MAC-addresses;

Hmm.

You could also add to "/etc/ethers" on UNIX systems, or to the "ethers"
file in the Ethereal installation directory on Windows, entries for the
MAC addresses in question; that wouldn't require any code changes.

If it's inconvenient or undesirable to add them to "/etc/ethers" on
UNIX, we could modify "initialize_ethers()" in "epan/resolv.c" to read a
file in both the "get_datafile_dir()" and the "get_systemfile_dir()"
directory, if those two routines don't return the same path (on Windows,
they do).

We could then ship an "ethers" file with Ethereal that contains
well-known MAC addresses - and that could be updated with no code
changes.