diff --git a/mgw/MGCP_Test.ttcn b/mgw/MGCP_Test.ttcn index 3aa792649..b0891f513 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();