Change in osmo-ttcn3-hacks[master]: library/RSL_Types.ttcn: expect any l3_info for 'tr_RSL_UNITDATA_*' by...

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

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Wed Oct 3 11:25:06 UTC 2018


Vadim Yanitskiy has uploaded this change for review. ( https://gerrit.osmocom.org/11209


Change subject: library/RSL_Types.ttcn: expect any l3_info for 'tr_RSL_UNITDATA_*' by default
......................................................................

library/RSL_Types.ttcn: expect any l3_info for 'tr_RSL_UNITDATA_*' by default

This is quite useful when one needs to expect an RSL UNITDATA
message with any payload. Let's set 'l3_info' to '?' by default,
like it's already done for 'ts_RSL_DATA_*'.

Change-Id: I45260343b34d8d054e7efa72de11dd4cb510a8cc
---
M library/RSL_Types.ttcn
1 file changed, 2 insertions(+), 2 deletions(-)



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

diff --git a/library/RSL_Types.ttcn b/library/RSL_Types.ttcn
index 5afabe1..cd4ba58 100644
--- a/library/RSL_Types.ttcn
+++ b/library/RSL_Types.ttcn
@@ -1062,7 +1062,7 @@
 	}
 	template RSL_Message tr_RSL_UNITDATA_REQ(template RslChannelNr chan_nr,
 						 template RslLinkId link_id,
-						 template octetstring l3_info)
+						 template octetstring l3_info := ?)
 	modifies tr_RSL_DATA_REQ := {
 		msg_type := RSL_MT_UNIT_DATA_REQ
 	}
@@ -1077,7 +1077,7 @@
 	}
 	template RSL_Message tr_RSL_UNITDATA_IND(template RslChannelNr chan_nr,
 						 template RslLinkId link_id,
-						 template octetstring l3_info)
+						 template octetstring l3_info := ?)
 	modifies tr_RSL_DATA_IND := {
 		msg_type := RSL_MT_UNIT_DATA_IND
 	}

-- 
To view, visit https://gerrit.osmocom.org/11209
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I45260343b34d8d054e7efa72de11dd4cb510a8cc
Gerrit-Change-Number: 11209
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181003/a8f31936/attachment.htm>


More information about the gerrit-log mailing list