Change in osmo-ttcn3-hacks[master]: library/Osmocom_Types: fix f_rnd_ra_cs(): ensure non-emergency RA

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
Mon Aug 31 15:05:58 UTC 2020


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

Change subject: library/Osmocom_Types: fix f_rnd_ra_cs(): ensure non-emergency RA
......................................................................

library/Osmocom_Types: fix f_rnd_ra_cs(): ensure non-emergency RA

Change-Id: Idbb2a2c7c2024adea5ff5ee639aeca6eab8ebb3b
---
M library/Osmocom_Types.ttcn
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/library/Osmocom_Types.ttcn b/library/Osmocom_Types.ttcn
index fa36881..6281280 100644
--- a/library/Osmocom_Types.ttcn
+++ b/library/Osmocom_Types.ttcn
@@ -216,7 +216,7 @@
 	var OCT1 ra;
 	do {
 		ra := f_rnd_octstring(1);
-	} while (ra_is_ps(ra));
+	} while (ra_is_ps(ra) or ra_is_emerg(ra));
 	return ra;
 }
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19906
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: Idbb2a2c7c2024adea5ff5ee639aeca6eab8ebb3b
Gerrit-Change-Number: 19906
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200831/32530877/attachment.htm>


More information about the gerrit-log mailing list