Ethereal-dev: Re: [Ethereal-dev] Display filter dialogs for taps

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Wed, 17 Dec 2003 14:16:54 -0800

On Dec 17, 2003, at 9:19 AM, Lars Roland wrote:

There is a lot of duplicated code within the taps,

Yes.

e.g. the code for a display filter dialog.

I copied the code for this into a seperate file and changed it to allow all taps to use this code.

As a first step I changed both h225 taps to use the new code.

Checked in.

As I've mentioned before, it might be useful to have a generic framework for statistics taps that has *all* the GUI work done in common code. With such a framework, it might be possible to have the tap-specific code work both in Ethereal *AND* Tethereal, with the Tethereal implementation of the framework handling printing the statistics table.