For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
[obnox/wireshark/wip.git] / epan / dissectors / packet-gtpv2.c
index a3fe47123d9b40fc52143d5e5e93eeaed4da9e4b..84cc6693e8ed02f303ac5d5aa7b2f6897edd3467 100644 (file)
@@ -3712,7 +3712,7 @@ dissect_gtpv2(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
     col_add_str(pinfo->cinfo, COL_INFO, val_to_str(message_type, gtpv2_message_type_vals, "Unknown"));
 
 
-    proto_tree_add_item(tree, proto_gtpv2, tvb, offset, -1, ENC_BIG_ENDIAN);
+    proto_tree_add_item(tree, proto_gtpv2, tvb, offset, -1, ENC_NA);
 
     if (tree) {
         ti = proto_tree_add_text(tree, tvb, offset, -1, "%s", val_to_str(message_type, gtpv2_message_type_vals, "Unknown"));