Ethereal-dev: RE: [Ethereal-dev] Wish list item 35

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

From: "Michael Lum" <mlum@xxxxxxxxxxxxx>
Date: Thu, 7 Aug 2003 08:22:39 -0700
OK, great.

I completely forgot about tethereal.

The rest is a proliferation of previous code, mine
was pretty much cloned from filters.c and prefs_dlg.c. ;)

Thanks for the info Guy.

-----Original Message-----
From: Guy Harris [mailto:guy@xxxxxxxxxxxx]
Sent: Wednesday, August 06, 2003 5:43 PM
To: mlum@xxxxxxxxxxxxx
Cc: ethereal-dev@xxxxxxxxxxxx
Subject: Re: [Ethereal-dev] Wish list item 35



On Wednesday, August 6, 2003, at 2:46 PM, Michael Lum wrote:

> The diffs were made from the latest checked out source (as of 10 
> minutes
> ago).

Checked in, with a couple of changes:

	instead of storing the long name of a protocol in the 
"disabled_protocols" file, it saves the "filter name", i.e. the name 
that would be used in a display filter for the protocol;

	Tethereal reads the file as well, and disables protocols based on its 
contents.

I also added read error checking to it, and to the code to read the 
preferences file.