From 642019f2880f49c030fbcac85f6d6e409002c4f2 Mon Sep 17 00:00:00 2001 From: arehbein Date: Sat, 25 Feb 2023 17:48:58 +0100 Subject: [PATCH] Transition to use of 'telnet_init_default' Related: OS#5809 Change-Id: Icc57c68337d55c6594c1c36e9bf41624d11dab0a --- src/gtphub/gtphub_main.c | 3 +-- src/sgsn/sgsn_main.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/gtphub/gtphub_main.c b/src/gtphub/gtphub_main.c index d25123eae..9b0532b24 100644 --- a/src/gtphub/gtphub_main.c +++ b/src/gtphub/gtphub_main.c @@ -354,8 +354,7 @@ int main(int argc, char **argv) } /* start telnet after reading config for vty_get_bind_addr() */ - rc = telnet_init_dynif(osmo_gtphub_ctx, 0, vty_get_bind_addr(), - OSMO_VTY_PORT_GTPHUB); + rc = telnet_init_default(osmo_gtphub_ctx, NULL, OSMO_VTY_PORT_GTPHUB); if (rc < 0) exit(1); diff --git a/src/sgsn/sgsn_main.c b/src/sgsn/sgsn_main.c index 04de6a26f..d6afdef52 100644 --- a/src/sgsn/sgsn_main.c +++ b/src/sgsn/sgsn_main.c @@ -442,8 +442,7 @@ int main(int argc, char **argv) } /* start telnet after reading config for vty_get_bind_addr() */ - rc = telnet_init_dynif(tall_sgsn_ctx, NULL, - vty_get_bind_addr(), OSMO_VTY_PORT_SGSN); + rc = telnet_init_default(tall_sgsn_ctx, NULL, OSMO_VTY_PORT_SGSN); if (rc < 0) exit(1);