Transition to use of 'telnet_init_default'
Related: OS#5809
Change-Id: Icc57c68337d55c6594c1c36e9bf41624d11dab0a
diff --git a/src/osmo-mgw/mgw_main.c b/src/osmo-mgw/mgw_main.c
index b9a36dd..5a62e95 100644
--- a/src/osmo-mgw/mgw_main.c
+++ b/src/osmo-mgw/mgw_main.c
@@ -360,8 +360,7 @@
return rc;
/* start telnet after reading config for vty_get_bind_addr() */
- rc = telnet_init_dynif(tall_mgw_ctx, NULL,
- vty_get_bind_addr(), OSMO_VTY_PORT_MGW);
+ rc = telnet_init_default(tall_mgw_ctx, NULL, OSMO_VTY_PORT_MGW);
if (rc < 0)
return rc;