For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
[obnox/wireshark/wip.git] / epan / dissectors / packet-tte.c
index 2bec53e7568523717bc157cf32bc8e1dd29d8ee3..17075e9f9458d208674d8d3a2d410bfd6cd3d789 100644 (file)
@@ -93,7 +93,7 @@ dissect_tte(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
         /* create display subtree for the protocol */
         tte_root_item = proto_tree_add_item(tree, proto_tte, tvb, 0,
-            TTE_HEADER_LENGTH, FALSE);
+            TTE_HEADER_LENGTH, ENC_NA);
 
         tte_tree = proto_item_add_subtree(tte_root_item, ett_tte);