summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Nardi <nardi.ivan@gmail.com>2017-06-04 12:46:50 +0200
committerMichael Mann <mmann78@netscape.net>2017-06-04 13:57:30 +0000
commit674d1d74afc306be89e277b9dbd9e2f6196e28b5 (patch)
treedfef4f5fc4f4fc8e2f80121cfd2bb4c58009fec2
parent3e3fc78d29f4d3d758c5fc84df333e5c297f8a0e (diff)
downloadwireshark-674d1d74afc306be89e277b9dbd9e2f6196e28b5.tar.gz
[SGsAP] Fix Release-Request msg
"SGs Cause" is an optional ie, not a mandatory one. See TS 29.118 8.23.1 Change-Id: I74ad90d159e667fa41f8c099520ce5f662a4d85e Reviewed-on: https://code.wireshark.org/review/21939 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> (cherry picked from commit 88cf898c4409d4267ef11eb6676cca5c8b05c435) Reviewed-on: https://code.wireshark.org/review/21943
-rw-r--r--epan/dissectors/packet-sgsap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-sgsap.c b/epan/dissectors/packet-sgsap.c
index 2baf96ee1d..90da16d8af 100644
--- a/epan/dissectors/packet-sgsap.c
+++ b/epan/dissectors/packet-sgsap.c
@@ -1351,7 +1351,7 @@ sgsap_release_req(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint
/* IMSI IMSI 9.4.6 M TLV 6-10 */
ELEM_MAND_TLV(0x01, GSM_A_PDU_TYPE_BSSMAP, BE_IMSI, NULL, ei_sgsap_missing_mandatory_element);
/* SGs cause SGs cause 9.4.18 O TLV 3 */
- ELEM_MAND_TLV(0x08, SGSAP_PDU_TYPE, DE_SGSAP_SGS_CAUSE, NULL, ei_sgsap_missing_mandatory_element);
+ ELEM_OPT_TLV(0x08, SGSAP_PDU_TYPE, DE_SGSAP_SGS_CAUSE, NULL);
EXTRANEOUS_DATA_CHECK(curr_len, 0, pinfo, &ei_sgsap_extraneous_data);
}