Fail if f_streamId_by_trx() can't find a stream id

Change-Id: Ie58278edf7050254d7cdced48b4b7870e0e8d577
This commit is contained in:
Daniel Willmann 2018-07-24 09:55:52 +02:00
parent 9abd2221ee
commit 5fdb9bba17
1 changed files with 2 additions and 1 deletions

View File

@ -318,7 +318,8 @@ private function f_streamId_by_trx(uint8_t trx_nr) return IpaStreamId {
case (2) { return IPAC_PROTO_RSL_TRX2; } case (2) { return IPAC_PROTO_RSL_TRX2; }
case (3) { return IPAC_PROTO_RSL_TRX3; } case (3) { return IPAC_PROTO_RSL_TRX3; }
} }
self.stop; setverdict(fail, "Unknown stream ID ", trx_nr);
mtc.stop;
} }