For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
[obnox/wireshark/wip.git] / epan / dissectors / packet-sap.c
index 06a8a10220767cf491954ae6a6d4c1d5c9f722fb..eee6c403a1945edfba4064feac8bcc66a29c3888 100644 (file)
@@ -145,7 +145,7 @@ dissect_sap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
         }
 
        if (tree) {
-         si = proto_tree_add_item(tree, proto_sap, tvb, offset, -1, FALSE);
+         si = proto_tree_add_item(tree, proto_sap, tvb, offset, -1, ENC_NA);
          sap_tree = proto_item_add_subtree(si, ett_sap);
 
          sif = proto_tree_add_uint(sap_tree, hf_sap_flags, tvb, offset, 1, vers_flags);