For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
[obnox/wireshark/wip.git] / asn1 / idmp / packet-idmp-template.c
index 447a50af921b6e4f8995c41f65f59acf7397a9df..fd86a4e0cf115eda34ffe12ce7ba3ff7798e1011 100644 (file)
@@ -172,7 +172,7 @@ static void dissect_idmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_t
        top_tree=parent_tree;
 
        if(parent_tree){
-               item = proto_tree_add_item(parent_tree, proto_idmp, tvb, 0, -1, FALSE);
+               item = proto_tree_add_item(parent_tree, proto_idmp, tvb, 0, -1, ENC_NA);
                tree = proto_item_add_subtree(item, ett_idmp);
        }