diff options
author | deniel <deniel@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-08-21 18:20:19 +0000 |
---|---|---|
committer | deniel <deniel@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-08-21 18:20:19 +0000 |
commit | cf8cc12423534a8e1e9015f536daf8bccfa1c127 (patch) | |
tree | 590171ed36934356a9e421fe4786472ba35e62fe /summary.c | |
parent | a1edf8d8a802992750a3787e363edd1fe7a40646 (diff) |
Add the number of marked packets in the summary window.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2323 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'summary.c')
-rw-r--r-- | summary.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* summary.c * Routines for capture file summary info * - * $Id: summary.c,v 1.18 2000/06/27 04:35:46 guy Exp $ + * $Id: summary.c,v 1.19 2000/08/21 18:20:11 deniel Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -55,6 +55,9 @@ tally_frame_data(frame_data *cur_frame, summary_tally *sum_tally) sum_tally->bytes += cur_frame->pkt_len; if (cur_frame->flags.passed_dfilter) sum_tally->filtered_count++; + if (cur_frame->flags.marked) + sum_tally->marked_count++; + } void @@ -69,6 +72,7 @@ summary_fill_in(summary_tally *st) st->stop_time = 0; st->bytes = 0; st->filtered_count = 0; + st->marked_count = 0; /* initialize the tally */ if (cfile.plist != NULL) { |