From 7c1efdf712feaf566f4d5928f1f064ea0a44005e Mon Sep 17 00:00:00 2001 From: John Thacker Date: Sat, 8 May 2021 15:45:05 -0400 Subject: [PATCH] SABP: Use SAI specific MCC/MNC fields The field here is always part of a Service Area Identifier (as expected in the Service Area Broadcast Protocol), so use E212_SAI instead of E212_NONE. --- epan/dissectors/asn1/sabp/sabp.cnf | 2 +- epan/dissectors/packet-sabp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/epan/dissectors/asn1/sabp/sabp.cnf b/epan/dissectors/asn1/sabp/sabp.cnf index af373ea0c3..2630514e4a 100644 --- a/epan/dissectors/asn1/sabp/sabp.cnf +++ b/epan/dissectors/asn1/sabp/sabp.cnf @@ -165,7 +165,7 @@ Error-Indication N sabp.proc.imsg id-Error-Indication if (!parameter_tvb) return offset; subtree = proto_item_add_subtree(actx->created_item, ett_sabp_e212); - dissect_e212_mcc_mnc(parameter_tvb, actx->pinfo, subtree, 0, E212_NONE, FALSE); + dissect_e212_mcc_mnc(parameter_tvb, actx->pinfo, subtree, 0, E212_SAI, FALSE); #.FN_BODY Data-Coding-Scheme VAL_PTR = ¶meter_tvb tvbuff_t *parameter_tvb=NULL; diff --git a/epan/dissectors/packet-sabp.c b/epan/dissectors/packet-sabp.c index 876a397601..471ad777ab 100644 --- a/epan/dissectors/packet-sabp.c +++ b/epan/dissectors/packet-sabp.c @@ -690,7 +690,7 @@ dissect_sabp_T_pLMNidentity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx if (!parameter_tvb) return offset; subtree = proto_item_add_subtree(actx->created_item, ett_sabp_e212); - dissect_e212_mcc_mnc(parameter_tvb, actx->pinfo, subtree, 0, E212_NONE, FALSE); + dissect_e212_mcc_mnc(parameter_tvb, actx->pinfo, subtree, 0, E212_SAI, FALSE);