diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-12-17 12:05:13 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-12-17 12:05:13 +0000 |
commit | e451ab37259e92dcf88e531c7b9b1eab3bc1c260 (patch) | |
tree | 6dce17932718ca461c18f8ab653778f4ccc90496 /summary.c | |
parent | 5a11901ec750cba91cef211a3f47fdc013edc9e1 (diff) |
Added "Ignore Packet" menu items to the main menu.
Show ignored packages in the summary dialog.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31289 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'summary.c')
-rw-r--r-- | summary.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -82,6 +82,9 @@ tally_frame_data(frame_data *cur_frame, summary_tally *sum_tally) sum_tally->marked_count++; sum_tally->marked_bytes += cur_frame->pkt_len ; } + if (cur_frame->flags.ignored){ + sum_tally->ignored_count++; + } } void @@ -103,6 +106,7 @@ summary_fill_in(capture_file *cf, summary_tally *st) st->marked_start = 0; st->marked_stop = 0; st->marked_bytes = 0; + st->ignored_count = 0; /* initialize the tally */ if (cf->plist_start != NULL) { |