hnbgw: Provide proper params to set StatsD local ip/port
The StatsD init() function parameter names were misleading
(prefixed "dst_" while they are actualy "local_" ones).
As a result, the hnbgw test was passing the wrong values to it.
Change-Id: I213173c99ec314c2eebfb8836c4d3467b3a7f818
diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn
index 578d35d..e28fecc 100644
--- a/hnbgw/HNBGW_Tests.ttcn
+++ b/hnbgw/HNBGW_Tests.ttcn
@@ -88,7 +88,10 @@
charstring mp_hnbgw_ip := "127.0.0.1";
integer mp_hnbgw_iuh_port := 29169;
integer mp_hnbgw_ctrl_port := 4262;
- integer mp_hnbgw_statsd_port := 8125;
+
+ /* Our emulated StatsD server: */
+ charstring mp_local_statsd_ip := "127.0.0.1";
+ integer mp_local_statsd_port := 8125;
charstring mp_mgw_ip := "127.0.0.1";
integer mp_mgw_port := 2427;
@@ -491,7 +494,7 @@
T_guard.start(guard_timeout);
activate(as_Tguard());
- f_init_statsd("VirtHNBGW", vc_STATSD, mp_hnbgw_ip, mp_hnbgw_statsd_port);
+ f_init_statsd("VirtHNBGW", vc_STATSD, mp_local_statsd_ip, mp_local_statsd_port);
/* RUA/RANAP emulation on top of lower-layer Iuh */
var RuaOps rua_ops := {