For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
[obnox/wireshark/wip.git] / asn1 / t125 / packet-t125-template.c
index 4940c12f4f9598c43e9d7dc2370b0ca625c8aeee..c2ab2f7e90b62a2309b94e3dff5d9705eec76461 100644 (file)
@@ -73,7 +73,7 @@ dissect_t125(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *parent_tree)
   col_set_str(pinfo->cinfo, COL_PROTOCOL, "T.125");
   col_clear(pinfo->cinfo, COL_INFO);
 
-  item = proto_tree_add_item(parent_tree, proto_t125, tvb, 0, tvb_length(tvb), FALSE);
+  item = proto_tree_add_item(parent_tree, proto_t125, tvb, 0, tvb_length(tvb), ENC_NA);
   tree = proto_item_add_subtree(item, ett_t125);
 
   get_ber_identifier(tvb, 0, &class, &pc, &tag);
@@ -104,7 +104,7 @@ dissect_t125_heur(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *parent_tree
   /* or PER */
   dissect_per_constrained_integer(tvb, 0, &asn1_ctx,
                                  NULL, hf_t125_heur, 0, 42,
-                                 &choice_index, FALSE); 
+                                 &choice_index, FALSE);
 
   /* is this strong enough ? */
   if ( ((class==BER_CLASS_APP) && ((tag>=101) && (tag<=104))) ||