Ethereal-dev: RE: [Ethereal-dev] Questions on dfilter processing

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

From: Gilbert Ramirez <gram@xxxxxxxxxxxxxxx>
Date: Tue, 09 Dec 2003 22:57:42 -0000
On Tue, 2003-12-09 at 16:17, Biot Olivier wrote:
> Hi Gilbert,
> 
> I added temporary debugging to semcheck.c, sttype-test.c and I realized that
> dfw_semcheck() is called 115 times for one trace I have, although
> colorfilters are disabled (I removed the file). I counted the occurrences of
> dfw_semcheck() with a static guint. Some sample output:
> 

I added some printf()'s and ran ethereal. The 113 calls to
dfilter_compile() come from packet-ncp2222.c upon initialization of
ethereal. The NCP dissector uses dfilters internally.

When the user applies a dfilter, dfilter_compile (and dfw_semcheck) are
called only once.

So, this appears not to be a bug.

--gilbert