summaryrefslogtreecommitdiff
path: root/asn1/gsm_map/packet-gsm_map-template.c
diff options
context:
space:
mode:
author0xbismarck <0xbismarck@gmail.com>2014-03-13 12:01:23 -0400
committerPascal Quantin <pascal.quantin@gmail.com>2014-03-13 22:14:28 +0000
commita59ac1bd10d29d05ca5cd657b7c64ab13a08670d (patch)
tree2123b371d4f2929597e764b590f14ac2ae7bf99d /asn1/gsm_map/packet-gsm_map-template.c
parent2f794e95d13a139483e81a82b12ac58151cf2e89 (diff)
downloadwireshark-a59ac1bd10d29d05ca5cd657b7c64ab13a08670d.tar.gz
Bug 9704: GSM_MAP SendRoutingInfoForSM incomplete
Added the field information for Phase 1 for the Send Routing Info For Sm message per request of ticket 9704. Code per the suggestion of Anders Broman. Adding Phase 1 code to GSMMAP.asn. Did not have any data to verify that the change worked. Change-Id: Ic387e2e12e8893abb0f453f5010909ffbfd1808c Reviewed-on: https://code.wireshark.org/review/147 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'asn1/gsm_map/packet-gsm_map-template.c')
-rw-r--r--asn1/gsm_map/packet-gsm_map-template.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/asn1/gsm_map/packet-gsm_map-template.c b/asn1/gsm_map/packet-gsm_map-template.c
index d930acd711..c351b74aa4 100644
--- a/asn1/gsm_map/packet-gsm_map-template.c
+++ b/asn1/gsm_map/packet-gsm_map-template.c
@@ -1157,7 +1157,11 @@ static int dissect_invokeData(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_
}
break;
case 45: /*sendRoutingInfoForSM*/
- offset=dissect_gsm_map_sm_RoutingInfoForSM_Arg(FALSE, tvb, offset, actx, tree, -1);
+ if (application_context_version == 1) {
+ offset=dissect_gsm_old_RoutingInfoForSM_ArgV1(FALSE, tvb, offset, actx, tree, -1);
+ } else {
+ offset=dissect_gsm_map_sm_RoutingInfoForSM_Arg(FALSE, tvb, offset, actx, tree, -1);
+ }
break;
case 46: /*mo-forwardSM(v3) or ForwardSM(v1/v2)*/
if (application_context_version == 3)