diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2018-03-01 14:00:58 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-03-01 14:32:59 +0000 |
commit | 88f4ae890f134e4c7a1c7eecb180cdc32c49682a (patch) | |
tree | ecdf088be4bb644bf531760fb0fa270cf04440b7 /bsc | |
parent | 39b82d344a67a5bbccb6607aae3caabfd71f10ba (diff) |
BSC_Tests: use isvalue() instead of isbound()
Currently we use isbound() in f_start_handler() to check if the BTS
which we want to connect is indeed populated. However. isbound()
seems never become true in this particular situation.
- Use isvalue() instead of isbound()
Change-Id: I25ddd55b7626087570311999b85ec7632b162c06
Diffstat (limited to 'bsc')
-rw-r--r-- | bsc/BSC_Tests.ttcn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn index 8d397f71..dc266abb 100644 --- a/bsc/BSC_Tests.ttcn +++ b/bsc/BSC_Tests.ttcn @@ -1348,7 +1348,7 @@ function f_start_handler(void_fn fn, charstring id) runs on test_CT return MSC_C connect(vc_conn:MGCP_PROC, vc_MGCP:MGCP_PROC); connect(vc_conn:RSL, bts[0].rsl.vc_RSL:CLIENT_PT); connect(vc_conn:RSL_PROC, bts[0].rsl.vc_RSL:RSL_PROC); - if (isbound(bts[1])) { + if (isvalue(bts[1])) { connect(vc_conn:RSL1, bts[1].rsl.vc_RSL:CLIENT_PT); connect(vc_conn:RSL1_PROC, bts[1].rsl.vc_RSL:RSL_PROC); } |