diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-01-08 23:49:33 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-01-08 23:49:33 +0000 |
commit | 24bf66d16c9a3fadf4e31f0eda15827ab7dec5b6 (patch) | |
tree | dbaf31a2e37bb51ba0ec3819bad63a1bd51f1296 /file.h | |
parent | 0452dfe11e6e79b4ed5d0884af275f276ec3d6df (diff) |
Don't recompute "cf->count" when filtering packets - the recomputation
will just give it the value it's always had, as packets are counted
regardless of whether they pass the filter or not (which is what we
want).
Given that, so there's no need for a separate "cf->unfiltered_count"
value, so get rid of it and use "cf->count" instead.
svn path=/trunk/; revision=1441
Diffstat (limited to 'file.h')
-rw-r--r-- | file.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* file.h * Definitions for file structures and routines * - * $Id: file.h,v 1.61 1999/12/10 04:20:53 gram Exp $ + * $Id: file.h,v 1.62 2000/01/08 23:49:33 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -88,7 +88,6 @@ typedef struct _capture_file { int lnk_t; /* Link-layer type with which to save capture */ guint32 vers; /* Version. For tcpdump minor is appended to major */ guint32 count; /* Packet count */ - gfloat unfiltered_count; /* used for dfilter progress bar */ guint32 drops; /* Dropped packets */ guint32 esec; /* Elapsed seconds */ guint32 eusec; /* Elapsed microseconds */ |