Change in osmo-ttcn3-hacks[master]: BSC_Tests/hopping: fix bit-mask reduction in f_TC_fh_params_gen_tr_ma()

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
Thu Sep 3 10:34:29 UTC 2020


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

Change subject: BSC_Tests/hopping: fix bit-mask reduction in f_TC_fh_params_gen_tr_ma()
......................................................................

BSC_Tests/hopping: fix bit-mask reduction in f_TC_fh_params_gen_tr_ma()

Change-Id: Id8b1e9fb62f9deaa5517d7366271437af0fc6eef
Related: SYS#4868, OS#4545
---
M bsc/BSC_Tests.ttcn
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 87e0d08..1b37f78 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -6918,7 +6918,7 @@
 	}
 
 	/* Ensure that ma_mask is octet-aligned */
-	ma_mask := substr(ma_mask, 0, ma_mask_len + 1);
+	ma_mask := substr(ma_mask, 0, ma_mask_len);
 	ma_mask_len := (ma_mask_len + 8 - 1) / 8;
 	ma_mask := f_pad_bit(ma_mask, ma_mask_len * 8, '0'B);
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19941
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: Id8b1e9fb62f9deaa5517d7366271437af0fc6eef
Gerrit-Change-Number: 19941
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
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/20200903/8d9c7675/attachment.htm>


More information about the gerrit-log mailing list