bts: Make IP address of fake_trx BB CTRL port configurable
Change-Id: Idbfe9e0327ed6acefd87afc8596485a488fc44d9
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index af28396..a6c07a4 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -45,6 +45,7 @@
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_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;
}