For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
[obnox/wireshark/wip.git] / epan / dissectors / packet-collectd.c
index 02514c21491f8a34b24b03467d740a68c377a895..741e79d49ab6bd0d403f41bd325145f0012b46c2 100644 (file)
@@ -857,7 +857,7 @@ dissect_collectd (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        size = tvb_reported_length(tvb);
 
        /* create the collectd protocol tree */
-       pi = proto_tree_add_item(tree, proto_collectd, tvb, 0, -1, FALSE);
+       pi = proto_tree_add_item(tree, proto_collectd, tvb, 0, -1, ENC_NA);
        collectd_tree = proto_item_add_subtree(pi, ett_collectd);
 
        memset (&tap_data, 0, sizeof (tap_data));