diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2003-10-04 03:10:18 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2003-10-04 03:10:18 +0000 |
commit | 3ef700482615a0d6c75f04f37c62a4e8d3185980 (patch) | |
tree | b0c8a4460c0614e08a9eb4a560e0f64f5ceadea4 | |
parent | 75872d85d3873d6372c7d0daacc067129b8ea901 (diff) | |
download | wireshark-3ef700482615a0d6c75f04f37c62a4e8d3185980.tar.gz wireshark-3ef700482615a0d6c75f04f37c62a4e8d3185980.tar.bz2 wireshark-3ef700482615a0d6c75f04f37c62a4e8d3185980.zip |
Fix to IO-Stat.
IO-Stat failed to produce Advanced/COUNT(*) statistics for fields of type FT_NONE.
Fixed.
Now it is possible to do :
Advanced/COUNT(*) Filter:tcp.analysis.retransmission Field:tcp.analysis.retransmission
Advanced/COUNT(*) Filter:tcp.analysis.duplicate_ack Field:tcp.analysis.duplicate_ack
And it will plot the number of Retransmissions and Duplicate ACKs seen in each time interval.
svn path=/trunk/; revision=8609
-rw-r--r-- | gtk/io_stat.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gtk/io_stat.c b/gtk/io_stat.c index 23cbf55446..1b51f393e4 100644 --- a/gtk/io_stat.c +++ b/gtk/io_stat.c @@ -1,7 +1,7 @@ /* io_stat.c * io_stat 2002 Ronnie Sahlberg * - * $Id: io_stat.c,v 1.30 2003/09/26 02:09:44 guy Exp $ + * $Id: io_stat.c,v 1.31 2003/10/04 03:10:18 sahlberg Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -410,6 +410,15 @@ get_it_value(io_stat_t *io, io_stat_item_t *it, int adv_type, int calc_type) break; case COUNT_TYPE_ADVANCED: switch(adv_type){ + case FT_NONE: + switch(calc_type){ + case CALC_TYPE_COUNT: + value=it->frames; + break; + default: + break; + } + break; case FT_UINT8: case FT_UINT16: case FT_UINT24: |