aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/summary_dlg.c
diff options
context:
space:
mode:
authorLaurent Deniel <laurent.deniel@free.fr>2000-08-21 18:20:19 +0000
committerLaurent Deniel <laurent.deniel@free.fr>2000-08-21 18:20:19 +0000
commit05984d233d86ea3ade976216cacf2cf3b8bd6a01 (patch)
tree590171ed36934356a9e421fe4786472ba35e62fe /gtk/summary_dlg.c
parent8fbd65cc7fa830d497c14ee29d9912e618a09e8f (diff)
Add the number of marked packets in the summary window.
svn path=/trunk/; revision=2323
Diffstat (limited to 'gtk/summary_dlg.c')
-rw-r--r--gtk/summary_dlg.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/summary_dlg.c b/gtk/summary_dlg.c
index 5e8f753270..08e0cbb9b2 100644
--- a/gtk/summary_dlg.c
+++ b/gtk/summary_dlg.c
@@ -1,7 +1,7 @@
/* summary_dlg.c
* Routines for capture file summary window
*
- * $Id: summary_dlg.c,v 1.7 2000/08/19 21:36:51 deniel Exp $
+ * $Id: summary_dlg.c,v 1.8 2000/08/21 18:20:19 deniel Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -131,6 +131,10 @@ summary_open_cb(GtkWidget *w, gpointer d)
snprintf(string_buff, SUM_STR_MAX, "Filtered packet count: %i", summary.filtered_count);
add_string_to_box(string_buff, data_box);
+ /* Marked Packet count */
+ snprintf(string_buff, SUM_STR_MAX, "Marked packet count: %i", summary.marked_count);
+ add_string_to_box(string_buff, data_box);
+
/* Packets per second */
if (seconds > 0){
snprintf(string_buff, SUM_STR_MAX, "Avg. packets/sec: %.3f", summary.packet_count/seconds);