[PATCH] osmo-ttcn3-hacks[master]: bts: Make IP address of fake_trx BB CTRL port configurable

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Thu Mar 1 14:48:07 UTC 2018


Review at  https://gerrit.osmocom.org/7027

bts: Make IP address of fake_trx BB CTRL port configurable

Change-Id: Idbfe9e0327ed6acefd87afc8596485a488fc44d9
---
M bts/BTS_Tests.ttcn
1 file changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/27/7027/1

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;
 }
 

-- 
To view, visit https://gerrit.osmocom.org/7027
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idbfe9e0327ed6acefd87afc8596485a488fc44d9
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list