aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2020-06-24 00:37:03 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2020-06-30 05:29:29 +0200
commit0d7fae912c0695b03607b31f3a5e1e3b3cac2af2 (patch)
tree0a7a62f401830c0021501881c3cdb7cbb09cf1ac
parent082fc87737d13760f6f4d9c2455c3831819f60be (diff)
Revert "as_Tguard: only respond to RESET with matching PC"
This reverts commit 9e64e8db8367ccd551305e8c0396944a9d044563.
-rw-r--r--bsc/BSC_Tests.ttcn9
1 files changed, 2 insertions, 7 deletions
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 474b8622..5fb7d0e7 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -441,13 +441,8 @@ altstep as_Tguard() runs on test_CT {
}
/* always respond with RESET ACK to RESET */
[] BSSAP.receive(tr_BSSAP_UNITDATA_ind(?, ?, tr_BSSMAP_Reset(g_osmux_enabled))) -> value ud_ind {
- /* respond only when a g_bssap with that point-code has been initialized. */
- for (var integer i := 0; i < NUM_MSC; i := i + 1) {
- if (ud_ind.calledAddress == g_bssap[i].sccp_addr_own) {
- BSSAP.send(ts_BSSAP_UNITDATA_req(ud_ind.callingAddress, ud_ind.calledAddress,
- ts_BSSMAP_ResetAck(g_osmux_enabled)));
- }
- }
+ BSSAP.send(ts_BSSAP_UNITDATA_req(ud_ind.callingAddress, ud_ind.calledAddress,
+ ts_BSSMAP_ResetAck(g_osmux_enabled)));
repeat;
}
}