From 3b949ac5a40b35ce93f41962eb0f46abf59902d8 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Fri, 2 Sep 2005 05:46:10 +0000 Subject: From ouli: - Add version 2 CancelLocation decoding svn path=/trunk/; revision=15665 --- asn1/gsmmap/GSMMAP.asn | 6 ++++++ asn1/gsmmap/packet-gsm_map-template.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'asn1/gsmmap') diff --git a/asn1/gsmmap/GSMMAP.asn b/asn1/gsmmap/GSMMAP.asn index 47a70c87ec..ea3b193692 100644 --- a/asn1/gsmmap/GSMMAP.asn +++ b/asn1/gsmmap/GSMMAP.asn @@ -136,6 +136,12 @@ CancelLocationArg ::= [3] IMPLICIT SEQUENCE { extensionContainer ExtensionContainer OPTIONAL, ...} +-- V2 ARGUMENT + +CancelLocationArgV2 ::= CHOICE { + imsi IMSI, + imsi-WithLMSI IMSI-WithLMSI} + -- RESULT CancelLocationRes ::= SEQUENCE { diff --git a/asn1/gsmmap/packet-gsm_map-template.c b/asn1/gsmmap/packet-gsm_map-template.c index 16a24e5b11..8deefeab7f 100644 --- a/asn1/gsmmap/packet-gsm_map-template.c +++ b/asn1/gsmmap/packet-gsm_map-template.c @@ -385,7 +385,7 @@ static int dissect_invokeData(packet_info *pinfo, proto_tree *tree, tvbuff_t *tv offset = offset +2; offset=dissect_gsm_map_CancelLocationArg(TRUE, tvb, offset, pinfo, tree, -1); }else{ - offset=dissect_gsm_map_CancelLocationArg(FALSE, tvb, offset, pinfo, tree, -1); + offset=dissect_gsm_map_CancelLocationArgV2(FALSE, tvb, offset, pinfo, tree, -1); } break; case 4: /*provideRoamingNumber*/ -- cgit v1.2.1