Add the hidden wpan.frame_length to the IEEE 802.15.4 tree, not the top-level tree.

svn path=/trunk/; revision=50541
This commit is contained in:
Chris Maynard 2013-07-12 21:32:03 +00:00
parent 1629a0948d
commit cef679ac98
1 changed files with 1 additions and 1 deletions

View File

@ -647,7 +647,7 @@ dissect_ieee802154_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, g
col_add_fstr(pinfo->cinfo, COL_PACKET_LENGTH, "%i", tvb_length(tvb));
/* Add the packet length to the filter field */
hidden_item = proto_tree_add_uint(tree, hf_ieee802154_frame_length, NULL, 0, 0, tvb_reported_length(tvb));
hidden_item = proto_tree_add_uint(ieee802154_tree, hf_ieee802154_frame_length, NULL, 0, 0, tvb_reported_length(tvb));
PROTO_ITEM_SET_HIDDEN(hidden_item);
/*=====================================================