Ethereal-dev: [Ethereal-dev] [patch] frame.marked is inserted in the wrong tree.

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: didier <dgautheron@xxxxxxxx>
Date: Sat, 04 May 2002 12:49:03 +0000
 
Index: packet-frame.c
===================================================================
RCS file: /cvsroot/ethereal/packet-frame.c,v
retrieving revision 1.25
diff -u -B -r1.25 packet-frame.c
--- packet-frame.c	2002/05/03 21:38:18	1.25
+++ packet-frame.c	2002/05/04 12:42:05
@@ -99,11 +99,12 @@
 	  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;