diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2012-06-19 18:21:53 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2012-06-19 18:21:53 +0000 |
commit | 6356f914c40fbb73c3da552e9905be8e99109446 (patch) | |
tree | 8037393f8e75ac679fb24ba2c8ed40593fdeddc6 /asn1/lte-rrc | |
parent | aab480d1916077f7c2f115cb5874268b6c8f6a6f (diff) | |
download | wireshark-6356f914c40fbb73c3da552e9905be8e99109446.tar.gz |
Use newly introduced proto_tree_add_unicode_string() to add UTF-8 strings
svn path=/trunk/; revision=43379
Diffstat (limited to 'asn1/lte-rrc')
-rw-r--r-- | asn1/lte-rrc/lte-rrc.cnf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/asn1/lte-rrc/lte-rrc.cnf b/asn1/lte-rrc/lte-rrc.cnf index 80b700bf9c..ba1c541ea0 100644 --- a/asn1/lte-rrc/lte-rrc.cnf +++ b/asn1/lte-rrc/lte-rrc.cnf @@ -722,6 +722,13 @@ if(ue_eutra_cap_tvb){ #.TYPE_ATTR SystemInformationBlockType9/hnb-Name TYPE=FT_STRING DISPLAY=BASE_NONE +#.FN_BODY SystemInformationBlockType9/hnb-Name VAL_PTR = &hnb_name_tvb HF_INDEX = -1 + tvbuff_t *hnb_name_tvb = NULL; + +%(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))); + #.FN_BODY RRCConnectionReject-r8-IEs/waitTime %(DEFAULT_BODY)s proto_item_append_text(actx->created_item, "s"); |