diff options
author | Anders Broman <anders.broman@ericsson.com> | 2005-09-02 05:46:10 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2005-09-02 05:46:10 +0000 |
commit | 3b949ac5a40b35ce93f41962eb0f46abf59902d8 (patch) | |
tree | 680386bec4dbbe6f3425c3e7c99395404e520136 /asn1/gsmmap | |
parent | 92e0e21362bc97ab4e2eed26d1d89b499b0c54e3 (diff) | |
download | wireshark-3b949ac5a40b35ce93f41962eb0f46abf59902d8.tar.gz |
From ouli:
- Add version 2 CancelLocation decoding
svn path=/trunk/; revision=15665
Diffstat (limited to 'asn1/gsmmap')
-rw-r--r-- | asn1/gsmmap/GSMMAP.asn | 6 | ||||
-rw-r--r-- | asn1/gsmmap/packet-gsm_map-template.c | 2 |
2 files changed, 7 insertions, 1 deletions
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*/ |