summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2019-05-09 17:01:04 +0200
committerAlexander Couzens <lynxis@fe80.eu>2019-05-09 17:01:04 +0200
commitfea5ef8fd434a31eb9df314fd5667018da1b3858 (patch)
treeac46f8ef2c0118fb3ea2339ba8875c3313de1444
parenta7c37f017fbe7fa5dc37cfa5cf7c62771a06d25d (diff)
fixup! NOT_FOR_MERGE: try to fix OSMO_GSUP_MESSAGE_CLASS_USSDlynxis/ttcn3-testing
-rw-r--r--library/GSUP_Types.ttcn9
1 files changed, 5 insertions, 4 deletions
diff --git a/library/GSUP_Types.ttcn b/library/GSUP_Types.ttcn
index 7468c35..5942e65 100644
--- a/library/GSUP_Types.ttcn
+++ b/library/GSUP_Types.ttcn
@@ -1083,17 +1083,15 @@ private function f_gen_tr_ss_ies(
template hexstring imsi,
template OCT4 sid := ?,
template GSUP_SessionState state := ?,
- template octetstring ss := ?,
- template octetstring message_class := ?
+ template octetstring ss := ?
) return template GSUP_IEs {
/* Mandatory IEs */
var template GSUP_IEs ies := {
tr_GSUP_IE_IMSI(imsi),
tr_GSUP_IE_SessionId(sid),
tr_GSUP_IE_SessionState(state)
- tr_GSUP_IE_Message_Class(OSMO_GSUP_MESSAGE_CLASS_USSD) ifpresent;
};
- var integer last_idx := 4;
+ var integer last_idx := 3;
/* Optional SS payload */
if (istemplatekind(ss, "*")) {
@@ -1104,6 +1102,9 @@ private function f_gen_tr_ss_ies(
last_idx := last_idx + 1;
}
+ ies[last_idx] := tr_GSUP_IE_Message_Class(OSMO_GSUP_MESSAGE_CLASS_USSD) ifpresent;
+ last_idx := last_idx + 1;
+
return ies;
}