From ef92b4ec1172e359656ce9baa1567e8ddd49557b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Bj=C3=B8rlykke?= Date: Thu, 17 Dec 2009 12:05:13 +0000 Subject: Added "Ignore Packet" menu items to the main menu. Show ignored packages in the summary dialog. svn path=/trunk/; revision=31289 --- summary.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'summary.c') diff --git a/summary.c b/summary.c index 2ef533ffb1..82831b78d4 100644 --- a/summary.c +++ b/summary.c @@ -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) { -- cgit v1.2.3