For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
[obnox/wireshark/wip.git] / epan / dissectors / packet-wcp.c
index 727bf9eeab6a8ba701beee5c5473969dcf223d3c..46534e0271d6f18e01d220a35fe9c44bc262746f 100644 (file)
@@ -326,7 +326,7 @@ static void dissect_wcp( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
        }
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_wcp, tvb, 0, wcp_header_len, FALSE);
+               ti = proto_tree_add_item(tree, proto_wcp, tvb, 0, wcp_header_len, ENC_NA);
 
                wcp_tree = proto_item_add_subtree(ti, ett_wcp);