aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-lte-rrc.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-12-08 20:03:15 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-12-08 20:03:15 +0000
commit93398e794e9afb2e304d27d86287db3054724755 (patch)
treeb28073e4314ca33a4058bfd392df1642576a1f40 /epan/dissectors/packet-lte-rrc.c
parent2dd25c2c482e573a26db19db995dd171c7667cea (diff)
Use STR_UNICODE display instead of proto_tree_add_unicode_string() in the remaining dissectors
svn path=/trunk/; revision=53867
Diffstat (limited to 'epan/dissectors/packet-lte-rrc.c')
-rw-r--r--epan/dissectors/packet-lte-rrc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/dissectors/packet-lte-rrc.c b/epan/dissectors/packet-lte-rrc.c
index 70d92d88d9..8b73eb0466 100644
--- a/epan/dissectors/packet-lte-rrc.c
+++ b/epan/dissectors/packet-lte-rrc.c
@@ -9359,8 +9359,7 @@ dissect_lte_rrc_T_hnb_Name(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _
offset = dissect_per_octet_string(tvb, offset, actx, tree, -1,
1, 48, FALSE, &hnb_name_tvb);
- actx->created_item = proto_tree_add_unicode_string(tree, hf_index, hnb_name_tvb, 0, -1,
- tvb_get_string_enc(wmem_packet_scope(), hnb_name_tvb, 0, tvb_length(hnb_name_tvb), ENC_UTF_8 | ENC_NA));
+ actx->created_item = proto_tree_add_item(tree, hf_index, hnb_name_tvb, 0, -1, ENC_UTF_8|ENC_NA);
return offset;
@@ -38485,7 +38484,7 @@ void proto_register_lte_rrc(void) {
"T_csfb_DualRxTxSupport_r11", HFILL }},
{ &hf_lte_rrc_hnb_Name,
{ "hnb-Name", "lte-rrc.hnb_Name",
- FT_STRING, BASE_NONE, NULL, 0,
+ FT_STRING, STR_UNICODE, NULL, 0,
NULL, HFILL }},
{ &hf_lte_rrc_messageIdentifier,
{ "messageIdentifier", "lte-rrc.messageIdentifier",