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

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Oct 3 21:37:41 UTC 2018


Harald Welte has submitted this change and it was merged. ( 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(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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: merged
Gerrit-Change-Id: I45260343b34d8d054e7efa72de11dd4cb510a8cc
Gerrit-Change-Number: 11209
Gerrit-PatchSet: 2
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181003/12c9ab1b/attachment.htm>


More information about the gerrit-log mailing list