aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/gsm_map
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-02-07 17:44:34 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-02-07 17:44:34 +0000
commit553cf70a685635b35b5ff529aa0738546daec14f (patch)
treee7f2ba41021c147fec90876684a97c67198b090d /asn1/gsm_map
parent55f45d52665437e22729e0fe87355a38c031c77f (diff)
Dissect V1 version , found in trace from:
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5637 svn path=/trunk/; revision=35843
Diffstat (limited to 'asn1/gsm_map')
-rw-r--r--asn1/gsm_map/MAP-SM-DataTypes.asn3
-rw-r--r--asn1/gsm_map/packet-gsm_map-template.c6
2 files changed, 8 insertions, 1 deletions
diff --git a/asn1/gsm_map/MAP-SM-DataTypes.asn b/asn1/gsm_map/MAP-SM-DataTypes.asn
index c79596fb3a..b4c8860cc5 100644
--- a/asn1/gsm_map/MAP-SM-DataTypes.asn
+++ b/asn1/gsm_map/MAP-SM-DataTypes.asn
@@ -92,6 +92,9 @@ SM-RP-SMEA ::= OCTET STRING (SIZE (1..12))
RoutingInfoForSM-Res ::= SEQUENCE {
imsi IMSI,
locationInfoWithLMSI [0] LocationInfoWithLMSI,
+-- WS extension to handle old versions
+ mwd-Set [2] BOOLEAN OPTIONAL,
+ -- mwd-Set must be absent in version greater 1
extensionContainer [4] ExtensionContainer OPTIONAL,
...}
diff --git a/asn1/gsm_map/packet-gsm_map-template.c b/asn1/gsm_map/packet-gsm_map-template.c
index 0c68f8b72c..4e8b8be1f4 100644
--- a/asn1/gsm_map/packet-gsm_map-template.c
+++ b/asn1/gsm_map/packet-gsm_map-template.c
@@ -1391,7 +1391,11 @@ static int dissect_returnResultData(proto_tree *tree, tvbuff_t *tvb, int offset,
offset=dissect_gsm_map_sm_MO_ForwardSM_Res(FALSE, tvb, offset, actx, tree, -1);
break;
case 47: /*reportSM-DeliveryStatus*/
- offset=dissect_gsm_map_sm_ReportSM_DeliveryStatusRes(FALSE, tvb, offset, actx, tree, -1);
+ offset=dissect_mc_message(tvb, offset, actx, tree,
+ FALSE, dissect_gsm_map_ISDN_AddressString, hf_gsm_map_sm_storedMSISDN,
+ FALSE, NULL, -1,
+ FALSE , dissect_gsm_map_sm_ReportSM_DeliveryStatusRes, -1);/*undefined*/
+
break;
case 48: /*noteSubscriberPresent*/
break;