diff options
Diffstat (limited to 'asn1/ranap/ranap.cnf')
-rw-r--r-- | asn1/ranap/ranap.cnf | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/asn1/ranap/ranap.cnf b/asn1/ranap/ranap.cnf index 20710c68bc..938819cdea 100644 --- a/asn1/ranap/ranap.cnf +++ b/asn1/ranap/ranap.cnf @@ -194,18 +194,18 @@ MAX_VAL = asn1_param_get_integer(%(ACTX)s,"upperBound") if(!imsi_tvb) return offset; + /* Hide the octet string default printout */ + PROTO_ITEM_SET_HIDDEN(actx->created_item); + digit_str = dissect_e212_imsi(imsi_tvb, actx->pinfo, tree, 0, tvb_reported_length(imsi_tvb), FALSE); + if ( actx->pinfo->sccp_info && actx->pinfo->sccp_info->data.co.assoc && ! actx->pinfo->sccp_info->data.co.assoc->calling_party ) { - guint len = tvb_length(imsi_tvb); - guint8* bytes = (guint8 *)tvb_memdup(wmem_packet_scope(),imsi_tvb,0,len); - actx->pinfo->sccp_info->data.co.assoc->calling_party = - wmem_strdup_printf(wmem_file_scope(), "IMSI: %%s", bytes_to_ep_str(bytes, len) ); + wmem_strdup_printf(wmem_file_scope(), "IMSI: %%s", digit_str ); } - digit_str = unpack_digits(imsi_tvb, 0); - proto_tree_add_string(tree, hf_ranap_imsi_digits, imsi_tvb, 0, -1, digit_str); + #.END #.FN_BODY NAS-PDU VAL_PTR = &nas_pdu_tvb |