diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-04-21 21:37:23 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-04-21 21:37:23 +0000 |
commit | b95490206d2ce9f9119828e910dda190daaa033b (patch) | |
tree | aa660adef57c895c263c282c92e6ed8be2f784b8 /asn1/gsmmap/packet-gsm_map-template.c | |
parent | dfc96b3d23bd694f4c6f50595e5fa1f94d859376 (diff) |
from Olivier J
bugfix for IMPLICIT NULL in BER sequences
and gsmmap updates
svn path=/trunk/; revision=14160
Diffstat (limited to 'asn1/gsmmap/packet-gsm_map-template.c')
-rw-r--r-- | asn1/gsmmap/packet-gsm_map-template.c | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/asn1/gsmmap/packet-gsm_map-template.c b/asn1/gsmmap/packet-gsm_map-template.c index 57ec1856cf..23a904873f 100644 --- a/asn1/gsmmap/packet-gsm_map-template.c +++ b/asn1/gsmmap/packet-gsm_map-template.c @@ -63,6 +63,7 @@ static int hf_gsm_map_local_errorCode = -1; static int hf_gsm_map_global_errorCode_oid = -1; static int hf_gsm_map_global_errorCode = -1; static int hf_gsm_map_SendAuthenticationInfoArg = -1; +static int hf_gsm_map_SendAuthenticationInfoRes = -1; static int hf_gsm_mapSendEndSignal = -1; static int hf_gsm_map_getPassword = -1; static int hf_gsm_map_currentPassword = -1; @@ -710,15 +711,19 @@ static int dissect_returnResultData(packet_info *pinfo, proto_tree *tree, tvbuff case 55: /*sendIdentification*/ offset=dissect_gsm_map_SendIdentificationRes(FALSE, tvb, offset, pinfo, tree, -1); break; - case 56: - offset = dissect_gsm_map_SendAuthenticationInfoRes(FALSE, tvb, offset, pinfo, tree, -1); + case 56: /*sendAuthenticationInfo*/ + if (application_context_version < 3 ){ + offset=dissect_gsm_map_SendAuthenticationInfoRes(FALSE, tvb, offset, pinfo, tree, hf_gsm_map_SendAuthenticationInfoRes); + }else{ + offset=dissect_gsm_map_SendAuthenticationInfoV3Res(FALSE, tvb, offset, pinfo, tree, hf_gsm_map_SendAuthenticationInfoRes); + } break; case 57: /*restoreData*/ - offset=dissect_gsm_map_RestoreDataRes(FALSE, tvb, offset, pinfo, tree, -1); - break; + offset=dissect_gsm_map_RestoreDataRes(FALSE, tvb, offset, pinfo, tree, -1); + break; case 58: /*sendIMSI*/ - offset=dissect_gsm_map_Imsi(FALSE, tvb, offset, pinfo, tree,hf_gsm_map_imsi); - break; + offset=dissect_gsm_map_Imsi(FALSE, tvb, offset, pinfo, tree,hf_gsm_map_imsi); + break; case 59: /*unstructuredSS-Request*/ offset=dissect_gsm_map_Ussd_Res(FALSE, tvb, offset, pinfo, tree, -1); break; @@ -1252,6 +1257,10 @@ void proto_register_gsm_map(void) { { "SendAuthenticationInfoArg", "gsm_map.SendAuthenticationInfoArg", FT_BYTES, BASE_NONE, NULL, 0, "SendAuthenticationInfoArg", HFILL }}, + { &hf_gsm_map_SendAuthenticationInfoRes, + { "SendAuthenticationInfoRes", "gsm_map.SendAuthenticationInfoRes", + FT_BYTES, BASE_NONE, NULL, 0, + "SendAuthenticationInfoRes", HFILL }}, { &hf_gsm_map_currentPassword, { "currentPassword", "gsm_map.currentPassword", FT_STRING, BASE_NONE, NULL, 0, |