diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-12-17 01:18:14 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-12-17 01:18:14 +0000 |
commit | 47be3577a731492ab1667fdc39233094051c01a6 (patch) | |
tree | 8239ff427bfe4e5c475b4f8429f0fef9186cf773 /gtk/main_statusbar.c | |
parent | faec4bde007d7d17da690477b7736059394c09fd (diff) |
Introduce "Ignore Packet" in the packet list.
This will remove the package from the dissection functions without
removing it from the capture file.
svn path=/trunk/; revision=31287
Diffstat (limited to 'gtk/main_statusbar.c')
-rw-r--r-- | gtk/main_statusbar.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/main_statusbar.c b/gtk/main_statusbar.c index 9d4a97224f..2ed3b1508f 100644 --- a/gtk/main_statusbar.c +++ b/gtk/main_statusbar.c @@ -439,6 +439,9 @@ packets_bar_update(void) if(cfile.drops_known) { packets_str = g_strdup_printf(" Packets: %u Displayed: %u Marked: %u Dropped: %u", cfile.count, cfile.displayed_count, cfile.marked_count, cfile.drops); + } else if (cfile.ignored_count > 0) { + packets_str = g_strdup_printf(" Packets: %u Displayed: %u Marked: %u Ignored: %u", + cfile.count, cfile.displayed_count, cfile.marked_count, cfile.ignored_count); } else { gulong computed_elapsed = cf_get_computed_elapsed(); |