diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-12-16 22:16:14 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-12-16 22:16:14 +0000 |
commit | cfc4c3846893ad47de9869eb844c8947fb2a4866 (patch) | |
tree | 65ba1f083118e6d2db5fc9a0441f4cc4c80d76eb /proto_hier_stats.c | |
parent | c508c5128979dbd90fdc521db3cc59b846869c09 (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4408 f5534014-38df-0310-8fa8-9805f1628bb7
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); |