Change in osmo-ttcn3-hacks[master]: BSSMAP_LE_IE_LcsCause: fix IEI value and len

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Tue Oct 13 08:43:12 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20369 )

Change subject: BSSMAP_LE_IE_LcsCause: fix IEI value and len
......................................................................

BSSMAP_LE_IE_LcsCause: fix IEI value and len

Change-Id: I8ea9d91745dc7bcbfdb69779487a1e9fc6cc7fcd
---
M library/BSSAP_LE_Types.ttcn
M library/BSSMAP_LE_Templates.ttcn
2 files changed, 4 insertions(+), 4 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  fixeria: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/library/BSSAP_LE_Types.ttcn b/library/BSSAP_LE_Types.ttcn
index ff6f0e2..ddff90a 100644
--- a/library/BSSAP_LE_Types.ttcn
+++ b/library/BSSAP_LE_Types.ttcn
@@ -260,7 +260,7 @@
 	BSSMAP_LE_LcsCause	cause,
 	OCT1			diag_val optional
 } with {
-	variant "PRESENCE(iei = BSSMAP_LE_IEI_IMSI)"
+	variant "PRESENCE(iei = BSSMAP_LE_IEI_LCS_CAUSE)"
 	variant (len) "LENGTHTO(cause,diag_val)"
 }
 type enumerated BSSMAP_LE_LcsCause {
diff --git a/library/BSSMAP_LE_Templates.ttcn b/library/BSSMAP_LE_Templates.ttcn
index 3a8d813..9886679 100644
--- a/library/BSSMAP_LE_Templates.ttcn
+++ b/library/BSSMAP_LE_Templates.ttcn
@@ -26,8 +26,8 @@
 		return omit;
 	}
 	var template (omit) BSSMAP_LE_IE_LcsCause ie := {
-		iei := BSSMAP_LE_IEI_IMSI,
-		len := 0,
+		iei := BSSMAP_LE_IEI_LCS_CAUSE,
+		len := 1,
 		cause := cause,
 		diag_val := omit
 	}
@@ -39,7 +39,7 @@
 		return omit;
 	}
 	var template BSSMAP_LE_IE_LcsCause ie := {
-		iei := BSSMAP_LE_IEI_IMSI,
+		iei := BSSMAP_LE_IEI_LCS_CAUSE,
 		len := ?,
 		cause := cause,
 		diag_val := *

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20369
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I8ea9d91745dc7bcbfdb69779487a1e9fc6cc7fcd
Gerrit-Change-Number: 20369
Gerrit-PatchSet: 4
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201013/843a5c12/attachment.htm>


More information about the gerrit-log mailing list