From 0d7fae912c0695b03607b31f3a5e1e3b3cac2af2 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Wed, 24 Jun 2020 00:37:03 +0200 Subject: Revert "as_Tguard: only respond to RESET with matching PC" This reverts commit 9e64e8db8367ccd551305e8c0396944a9d044563. --- bsc/BSC_Tests.ttcn | 9 ++------- 1 file 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; } } -- cgit v1.2.3