Ethereal-dev: Re: [Ethereal-dev] Resetting statistics in the reset routine of a tap listener

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

Date: Thu, 22 Sep 2005 20:34:33 +0200
On 9/22/05, Guy Harris <gharris@xxxxxxxxx> wrote:
> lego@xxxxxxxxxxxx wrote:
>
> > Instead of checking if this is a new packet at every call to avoid
> > recounting the packets at every rerun remove the tap listener of this
> > stats tree.
>
> Shouldn't it, instead, discard the current counts, and leave the tap
> listener installed?  The reset routine is called if, for example, a
> protocol preference is changed, and that preference might affect the
> statistics, so the packets *should* be recounted (after throwing away
> the old counts, so they aren't counted twice) on a re-run.

This way the user can open another window and compare the results with
the older one, Instead of having the information rewritten.

If we destroy and reinit (just resetting each node isn't enough) the
tree the information before that is lost.

however I'll try.

Luis
--
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan