aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/rrc/rrc.cnf
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2012-06-19 18:21:53 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2012-06-19 18:21:53 +0000
commit6356f914c40fbb73c3da552e9905be8e99109446 (patch)
tree8037393f8e75ac679fb24ba2c8ed40593fdeddc6 /asn1/rrc/rrc.cnf
parentaab480d1916077f7c2f115cb5874268b6c8f6a6f (diff)
Use newly introduced proto_tree_add_unicode_string() to add UTF-8 strings
svn path=/trunk/; revision=43379
Diffstat (limited to 'asn1/rrc/rrc.cnf')
-rw-r--r--asn1/rrc/rrc.cnf7
1 files changed, 7 insertions, 0 deletions
diff --git a/asn1/rrc/rrc.cnf b/asn1/rrc/rrc.cnf
index 7cce69fe0b..7b3381415a 100644
--- a/asn1/rrc/rrc.cnf
+++ b/asn1/rrc/rrc.cnf
@@ -599,6 +599,13 @@ tvbuff_t *parameter_tvb=NULL;
#.TYPE_ATTR
HNBName TYPE=FT_STRING DISPLAY=BASE_NONE
+#.FN_BODY HNBName VAL_PTR = &hnbname_tvb HF_INDEX = -1
+ tvbuff_t *hnbname_tvb = NULL;
+
+%(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)));
+
#.FN_BODY CN-DomainIdentity VAL_PTR = (guint32*)(&rrc_nas_sys_info_gsm_map_type)
%(DEFAULT_BODY)s