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.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Thu, 22 Sep 2005 11:53:36 -0700
LEGO wrote:

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.

I guess the question is whether a statistics window should be viewed as "static" (once it's been displayed, it never changes, no matter what filter changes, preference changes, etc. are made to the capture) or "dynamic" (updates to the filter, preferences, etc. cause the window to be updated to reflect those changes).

I could see people expecting the latter; I guess I could also imagine people expecting the former.

Whichever of those we choose, the answer should probably be the same for all statistics. If we choose "static", the tap mechanism itself should probably remove the tap listener once it's finished, to enforce that.