For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
[obnox/wireshark/wip.git] / epan / dissectors / packet-dect.c
index 39efe29950602260d6ce5ce04fc8daca44f9292f..cf85f53d64efb56d8aeefe98f7374f7945aa4a59 100644 (file)
@@ -1959,7 +1959,7 @@ dissect_dect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                return;
        }
 
-       ti=proto_tree_add_item(tree, proto_dect, tvb, 0, -1, FALSE);
+       ti=proto_tree_add_item(tree, proto_dect, tvb, 0, -1, ENC_NA);
        DectTree=proto_item_add_subtree(ti, ett_dect);
 
        proto_tree_add_item(DectTree, hf_dect_transceivermode, tvb, offset, 1, ENC_BIG_ENDIAN);