git.samba.org
/
obnox
/
wireshark
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added "Ignore Packet" menu items to the main menu.
[obnox/wireshark/wip.git]
/
summary.c
diff --git
a/summary.c
b/summary.c
index 2ef533ffb11d95be4cd358895138493ccf23dcde..82831b78d4ac6ac662ab40de187a1b49c12fe579 100644
(file)
--- 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 ;
}
sum_tally->marked_count++;
sum_tally->marked_bytes += cur_frame->pkt_len ;
}
+ if (cur_frame->flags.ignored){
+ sum_tally->ignored_count++;
+ }
}
void
}
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->marked_start = 0;
st->marked_stop = 0;
st->marked_bytes = 0;
+ st->ignored_count = 0;
/* initialize the tally */
if (cf->plist_start != NULL) {
/* initialize the tally */
if (cf->plist_start != NULL) {