Change in osmo-ttcn3-hacks[master]: pcu: Call f_shutdown if BSN doesn't match

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

pespin gerrit-no-reply at lists.osmocom.org
Fri Nov 13 10:54:50 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21134 )


Change subject: pcu: Call f_shutdown if BSN doesn't match
......................................................................

pcu: Call f_shutdown if BSN doesn't match

Change-Id: I208f5100f9891874a8a61510edc8c5d215570b14
---
M pcu/GPRS_Components.ttcn
1 file changed, 1 insertion(+), 0 deletions(-)



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

diff --git a/pcu/GPRS_Components.ttcn b/pcu/GPRS_Components.ttcn
index 2686ba3..51c5a8d 100644
--- a/pcu/GPRS_Components.ttcn
+++ b/pcu/GPRS_Components.ttcn
@@ -910,6 +910,7 @@
 	if (not match(data_block.mac_hdr.hdr_ext.bsn, exp_bsn)) {
 		setverdict(fail, "DL block BSN doesn't match: ",
 			   data_block.mac_hdr.hdr_ext.bsn, " vs exp ", exp_bsn);
+		f_shutdown(__BFILE__, __LINE__);
 	}
 
 	if (lengthof(data_block.blocks) < 1) {

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21134
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: I208f5100f9891874a8a61510edc8c5d215570b14
Gerrit-Change-Number: 21134
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201113/9659af6b/attachment.htm>


More information about the gerrit-log mailing list