For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
[obnox/wireshark/wip.git] / epan / dissectors / packet-xtp.c
index 916a8d626c26e1f77c5d2cf61c487122fe954fe3..9fc0553e9bb5ca4e5a71cec788b8f3c1400eb6bc 100644 (file)
@@ -991,7 +991,7 @@ dissect_xtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
        }
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_xtp, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_xtp, tvb, 0, -1, ENC_NA);
                /** add summary **/
                proto_item_append_text(ti,
                                ", Key: 0x%016" G_GINT64_MODIFIER "X", xtph->key);