aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/compare_stat.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2009-09-02 18:18:57 +0000
committerAnders Broman <anders.broman@ericsson.com>2009-09-02 18:18:57 +0000
commitd1b6cefef45bec8b8535151494dee33c967224e5 (patch)
tree3458e1b7f67be4433cb77fe419acd192ae1be95b /gtk/compare_stat.c
parentd96beaaecbdd6a2a978a72990fc5244dfbb936e9 (diff)
Use new_packet_list_colorize_packets() where cf_colorize_packets();
is used. svn path=/trunk/; revision=29674
Diffstat (limited to 'gtk/compare_stat.c')
-rw-r--r--gtk/compare_stat.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/gtk/compare_stat.c b/gtk/compare_stat.c
index fc4b48e3f6..b47cbd51cd 100644
--- a/gtk/compare_stat.c
+++ b/gtk/compare_stat.c
@@ -80,7 +80,9 @@
#include "color.h"
#include "color_filters.h"
#include "color_dlg.h"
-
+#ifdef NEW_PACKET_LIST
+#include "new_packet_list.h"
+#endif
/* From colorize convertion */
#define COLOR_N 1
@@ -607,8 +609,11 @@ comparestat_draw(void *arg)
g_string_printf(filter_str, "%s %s %s %s", "eth.dst==", address_to_str(&cs->eth_dst), "|| eth.dst==", address_to_str(&cs->eth_src));
}
color_filters_set_tmp(COLOR_N, filter_str->str, FALSE);
+#ifdef NEW_PACKET_LIST
+ new_packet_list_colorize_packets();
+#else
cf_colorize_packets(&cfile);
-
+#endif
/* Variance */
cs->stats.variance=compare_variance;