From 05984d233d86ea3ade976216cacf2cf3b8bd6a01 Mon Sep 17 00:00:00 2001 From: Laurent Deniel Date: Mon, 21 Aug 2000 18:20:19 +0000 Subject: Add the number of marked packets in the summary window. svn path=/trunk/; revision=2323 --- gtk/summary_dlg.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gtk/summary_dlg.c') 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 @@ -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); -- cgit v1.2.3