From 794f0c04f4948c824d64e8ee1a987c03e716082f Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 16 Dec 2001 22:16:14 +0000 Subject: Add an extra argument to "epan_dissect_new()" that indicates whether the display representation should be put into protocol tree items if a protocol tree is to be constructed; have it set "proto_tree_is_visible" from that argument. svn path=/trunk/; revision=4408 --- proto_hier_stats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto_hier_stats.c') diff --git a/proto_hier_stats.c b/proto_hier_stats.c index 3a6057ad7e..f242b5ed52 100644 --- a/proto_hier_stats.c +++ b/proto_hier_stats.c @@ -1,7 +1,7 @@ /* proto_hier_stats.c * Routines for calculating statistics based on protocol. * - * $Id: proto_hier_stats.c,v 1.6 2001/12/10 00:25:41 guy Exp $ + * $Id: proto_hier_stats.c,v 1.7 2001/12/16 22:16:11 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -129,7 +129,7 @@ process_frame(frame_data *frame, column_info *cinfo, ph_stats_t* ps) pd, frame->cap_len); /* Dissect the frame */ - edt = epan_dissect_new(&phdr, pd, frame, TRUE, cinfo); + edt = epan_dissect_new(&phdr, pd, frame, TRUE, FALSE, cinfo); /* Get stats from this protocol tree */ process_tree(edt->tree, ps, frame->pkt_len); -- cgit v1.2.1