For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
[obnox/wireshark/wip.git] / epan / dissectors / packet-pingpongprotocol.c
index 8cc8e1cdfaff9d1dc3ca422c8f263fe151aed243..8623f2289bf9f195d1345b7b5ca0a0441aafccaf 100644 (file)
@@ -157,7 +157,7 @@ dissect_pingpongprotocol(tvbuff_t *message_tvb, packet_info *pinfo, proto_tree *
      necessary to generate protocol tree items. */
   if (tree) {
     /* create the pingpongprotocol protocol tree */
-    pingpongprotocol_item = proto_tree_add_item(tree, proto_pingpongprotocol, message_tvb, 0, -1, FALSE);
+    pingpongprotocol_item = proto_tree_add_item(tree, proto_pingpongprotocol, message_tvb, 0, -1, ENC_NA);
     pingpongprotocol_tree = proto_item_add_subtree(pingpongprotocol_item, ett_pingpongprotocol);
   } else {
     pingpongprotocol_tree = NULL;