Ethereal-dev: Re: [Ethereal-dev] New colorization entry in the Capture dialog

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

From: John McDermott <jjm@xxxxxxxxxx>
Date: Mon, 03 Sep 2001 13:22:00 -0600
Guy,
Either scheme is fine.  For some reason, I thought that *nix-style magic
numbers were a little more general than a directory. OTOH, they *are* in
a specific directory anyway.

BTW, I have not tried the changes under Win32 as I do not have a Win32
development environment active here right now...

--john

Guy Harris wrote:
> 
> On Mon, Sep 03, 2001 at 11:40:08AM -0600, John McDermott wrote:
> > There is only one change that may have additional impact.  The
> > colorization filter file now has a header with a "magic number" of
> > "#EC".  The magic number is followed by a (probably never-changing)
> > version number.  This is to allow the combo box in the capture dialog to
> > select only color files from the ~/.ethereal directory.
> 
> Another possibility might be to have a directory under ~/.ethereal,
> containing color filters; this'd mean you wouldn't have to open and read
> files to see whether they were color filter files, you could just treat
> all files in that subdirectory as color filters.

-- 
John McDermott, Writer and Consultant
J-K International, Ltd.
V +1 505/377-6293  F +1 505/377-6313
jjm@xxxxxxxxxx