summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2021-08-19 10:52:33 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2021-08-19 10:58:25 +0200
commit2ff3e66bf05b4053bd5f15f892239ff5f829ca9b (patch)
treec657d9000e60ceff0200b81a9f78caf9288f2a52
parentc8b95c1b04813d2c6bac02ee1f2b1cba1a780438 (diff)
MGCP_Test: do not use module parameter mp_test_ip (statsd)pmaier/test
The module parameter mp_test_ip was added with the following commit: Change-Id I61e23e264bc85eb36d07431c7839fb445c110947 There is already mp_local_ipv4, which has the same function, so we should remove mp_test_ip again and use mp_local_ipv4 to set up the receiving of statsd information. Change-Id: I70f33aed4102c67118cc6701c2578a70c0dfe604 Related: SYS#5535
-rw-r--r--mgw/MGCP_Test.ttcn3
1 files changed, 1 insertions, 2 deletions
diff --git a/mgw/MGCP_Test.ttcn b/mgw/MGCP_Test.ttcn
index 3aa79264..b0891f51 100644
--- a/mgw/MGCP_Test.ttcn
+++ b/mgw/MGCP_Test.ttcn
@@ -78,7 +78,6 @@ module MGCP_Test {
PortNumber mp_local_rtp_port_base := 10000;
PortNumber mp_local_osmux_port := 1985;
PortNumber mp_mgw_statsd_port := 8125;
- charstring mp_test_ip := "127.0.0.1";
}
private function f_vty_enable_osmux(boolean osmux_on) runs on dummy_CT {
@@ -150,7 +149,7 @@ module MGCP_Test {
connect(vc_OsmuxEM:CTRL, self:OsmuxEM);
}
- f_init_statsd("VirtCallAgent", vc_STATSD, mp_test_ip, mp_mgw_statsd_port);
+ f_init_statsd("VirtCallAgent", vc_STATSD, mp_local_ipv4, mp_mgw_statsd_port);
connect(self:STATSD_PROC, vc_STATSD:STATSD_PROC);
f_statsd_reset();