diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-12-16 22:16:14 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-12-16 22:16:14 +0000 |
commit | 794f0c04f4948c824d64e8ee1a987c03e716082f (patch) | |
tree | 65ba1f083118e6d2db5fc9a0441f4cc4c80d76eb /proto_hier_stats.c | |
parent | da82313eb3378fc8a179cb7abfebd0ba141daae6 (diff) |
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
Diffstat (limited to 'proto_hier_stats.c')
-rw-r--r-- | proto_hier_stats.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <gerald@ethereal.com> @@ -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); |