diff options
author | John Thacker <johnthacker@gmail.com> | 2021-05-08 20:16:40 -0400 |
---|---|---|
committer | John Thacker <johnthacker@gmail.com> | 2021-05-09 10:02:36 -0400 |
commit | a106ba9d27e07e23bac14619e4f3fda7bf76a905 (patch) | |
tree | d45ea7a113c38378f3f2b00969cb80c99f07d566 /epan/dissectors/asn1/f1ap/f1ap.cnf | |
parent | 02fc9ea05990105612fe137d0bc7d42ad7a2ea0d (diff) |
F1AP: Use specific MCC/MNC fields for NRCGI
Use specific MCC/MNC fields for NRCGI IE, continue to use E212_NONE
by default for everything else.
Diffstat (limited to 'epan/dissectors/asn1/f1ap/f1ap.cnf')
-rw-r--r-- | epan/dissectors/asn1/f1ap/f1ap.cnf | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/epan/dissectors/asn1/f1ap/f1ap.cnf b/epan/dissectors/asn1/f1ap/f1ap.cnf index 510db1a09d..6df9cf3d51 100644 --- a/epan/dissectors/asn1/f1ap/f1ap.cnf +++ b/epan/dissectors/asn1/f1ap/f1ap.cnf @@ -1338,12 +1338,20 @@ PositioningInformationUpdate N f1ap.proc.imsg id-PositioningInformat #.FN_BODY PLMN-Identity VAL_PTR = ¶m_tvb tvbuff_t *param_tvb = NULL; + f1ap_private_data_t *f1ap_data = f1ap_get_private_data(actx->pinfo); + e212_number_type_t number_type = f1ap_data->number_type; + f1ap_data->number_type = E212_NONE; %(DEFAULT_BODY)s if (param_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_f1ap_PLMN_Identity); - dissect_e212_mcc_mnc(param_tvb, actx->pinfo, subtree, 0, E212_NONE, FALSE); + dissect_e212_mcc_mnc(param_tvb, actx->pinfo, subtree, 0, number_type, FALSE); } +#.FN_BODY NRCGI + f1ap_private_data_t *f1ap_data = f1ap_get_private_data(actx->pinfo); + f1ap_data->number_type = E212_NRCGI; +%(DEFAULT_BODY)s + #.TYPE_ATTR PortNumber TYPE = FT_UINT16 DISPLAY = BASE_DEC |