forked from osmocom/wireshark
Use tvb_get_ephemeral_string_enc() in combination with proto_tree_add_unicode_string() (as recommended by Jakub on the mailing list)
svn path=/trunk/; revision=43385
This commit is contained in:
parent
d50353013b
commit
fe8280ce5e
|
@ -727,7 +727,7 @@ SystemInformationBlockType9/hnb-Name TYPE=FT_STRING DISPLAY=BASE_NONE
|
|||
|
||||
%(DEFAULT_BODY)s
|
||||
proto_tree_add_unicode_string(tree, hf_index, hnb_name_tvb, 0, -1,
|
||||
tvb_get_ephemeral_string(hnb_name_tvb, 0, tvb_length(hnb_name_tvb)));
|
||||
tvb_get_ephemeral_string_enc(hnb_name_tvb, 0, tvb_length(hnb_name_tvb), ENC_UTF_8 | ENC_NA));
|
||||
|
||||
#.FN_BODY RRCConnectionReject-r8-IEs/waitTime
|
||||
%(DEFAULT_BODY)s
|
||||
|
|
|
@ -604,7 +604,7 @@ HNBName TYPE=FT_STRING DISPLAY=BASE_NONE
|
|||
|
||||
%(DEFAULT_BODY)s
|
||||
proto_tree_add_unicode_string(tree, hf_index, hnbname_tvb, 0, -1,
|
||||
tvb_get_ephemeral_string(hnbname_tvb, 0, tvb_length(hnbname_tvb)));
|
||||
tvb_get_ephemeral_string_enc(hnbname_tvb, 0, tvb_length(hnbname_tvb), ENC_UTF_8 | ENC_NA));
|
||||
|
||||
#.FN_BODY CN-DomainIdentity VAL_PTR = (guint32*)(&rrc_nas_sys_info_gsm_map_type)
|
||||
%(DEFAULT_BODY)s
|
||||
|
|
|
@ -7726,7 +7726,7 @@ dissect_lte_rrc_T_hnb_Name(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _
|
|||
1, 48, FALSE, &hnb_name_tvb);
|
||||
|
||||
proto_tree_add_unicode_string(tree, hf_index, hnb_name_tvb, 0, -1,
|
||||
tvb_get_ephemeral_string(hnb_name_tvb, 0, tvb_length(hnb_name_tvb)));
|
||||
tvb_get_ephemeral_string_enc(hnb_name_tvb, 0, tvb_length(hnb_name_tvb), ENC_UTF_8 | ENC_NA));
|
||||
|
||||
|
||||
return offset;
|
||||
|
|
|
@ -121020,7 +121020,7 @@ dissect_rrc_HNBName(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, pro
|
|||
1, maxHNBNameSize, FALSE, &hnbname_tvb);
|
||||
|
||||
proto_tree_add_unicode_string(tree, hf_index, hnbname_tvb, 0, -1,
|
||||
tvb_get_ephemeral_string(hnbname_tvb, 0, tvb_length(hnbname_tvb)));
|
||||
tvb_get_ephemeral_string_enc(hnbname_tvb, 0, tvb_length(hnbname_tvb), ENC_UTF_8 | ENC_NA));
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue