From a4d8f35c201b0b77997a9b9003a1b169a693e5a6 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 1 Mar 2018 15:47:20 +0100 Subject: bts: Make IP address of fake_trx BB CTRL port configurable Change-Id: Idbfe9e0327ed6acefd87afc8596485a488fc44d9 --- bts/BTS_Tests.ttcn | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bts/BTS_Tests.ttcn') diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn index af28396a..a6c07a4b 100644 --- a/bts/BTS_Tests.ttcn +++ b/bts/BTS_Tests.ttcn @@ -45,6 +45,7 @@ modulepar { charstring mp_rsl_ip := "127.0.0.2"; integer mp_rsl_port := 3003; integer mp_trx0_arfcn := 871; + charstring mp_bb_trxc_ip := "127.0.0.1"; integer mp_bb_trxc_port := 6701; charstring mp_pcu_socket := PCU_SOCK_DEFAULT; } @@ -317,8 +318,8 @@ private function f_l1_tune(L1CTL_PT L1CTL) { private function f_trxc_connect() runs on ConnHdlr { map(self:BB_TRXC, system:BB_TRXC); var Result res; - res := TRXC_CodecPort_CtrlFunct.f_IPL4_connect(BB_TRXC, "127.0.0.1", mp_bb_trxc_port, - "127.0.0.1", 0, -1, {udp:={}}, {}); + res := TRXC_CodecPort_CtrlFunct.f_IPL4_connect(BB_TRXC, mp_bb_trxc_ip, mp_bb_trxc_port, + "", -1, -1, {udp:={}}, {}); g_bb_trxc_conn_id := res.connId; } -- cgit v1.2.3