For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
[obnox/wireshark/wip.git] / epan / dissectors / packet-lmp.c
index 89afdb96f308a317af3f21e89c038547f28a3072..ad2aadd47a70e76664575366d0c01b32667e09eb 100644 (file)
@@ -695,7 +695,7 @@ dissect_lmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     if (tree) {
        msg_length = tvb_get_ntohs(tvb, offset+4);
        ti = proto_tree_add_item(tree, proto_lmp, tvb, offset, msg_length,
-           FALSE);
+           ENC_NA);
        lmp_tree = proto_item_add_subtree(ti, lmp_subtree[LMP_TREE_MAIN]);
        ti = proto_tree_add_text(lmp_tree, tvb, offset, 12, "LMP Header. %s",
                                 val_to_str(message_type, message_type_vals,