diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-05-04 20:57:18 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-05-04 20:57:18 +0000 |
commit | 82e11eb8eef35974a5c07658009561390720bfad (patch) | |
tree | 134583405ba1d52b73dc8a3f428a5be3ac674385 | |
parent | 7b3bbbf5f643eda9550d4f0ef510756055284905 (diff) |
From Didier Gautheron: put "frame.marked" into the "Frame" subtree, not
into the top-level tree.
svn path=/trunk/; revision=5393
-rw-r--r-- | packet-frame.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-frame.c b/packet-frame.c index c385f5253a..c8f7ed68ce 100644 --- a/packet-frame.c +++ b/packet-frame.c @@ -2,7 +2,7 @@ * * Top-most dissector. Decides dissector based on Wiretap Encapsulation Type. * - * $Id: packet-frame.c,v 1.25 2002/05/03 21:38:18 guy Exp $ + * $Id: packet-frame.c,v 1.26 2002/05/04 20:57:18 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -99,12 +99,13 @@ dissect_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) cap_len = tvb_length(tvb); pkt_len = tvb_reported_length(tvb); - proto_tree_add_boolean_hidden(tree, hf_frame_marked, tvb, 0, 0,pinfo->fd->flags.marked); ti = proto_tree_add_protocol_format(tree, proto_frame, tvb, 0, -1, "Frame %u (%u on wire, %u captured)", pinfo->fd->num, pkt_len, cap_len); fh_tree = proto_item_add_subtree(ti, ett_frame); + proto_tree_add_boolean_hidden(fh_tree, hf_frame_marked, tvb, 0, 0,pinfo->fd->flags.marked); + ts.secs = pinfo->fd->abs_secs; ts.nsecs = pinfo->fd->abs_usecs*1000; |