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/.

neels gerrit-no-reply at lists.osmocom.org
Thu Oct 1 04:51:33 UTC 2020


neels has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/69/20369/1

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 a1fcc75..dbf126b 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: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201001/6870f58c/attachment.htm>


More information about the gerrit-log mailing list