arehbein has submitted this change. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/31523 )
Change subject: Transition to use of 'telnet_init_default' ......................................................................
Transition to use of 'telnet_init_default'
Related: OS#5809 Change-Id: Icc57c68337d55c6594c1c36e9bf41624d11dab0a --- M src/gtphub/gtphub_main.c M src/sgsn/sgsn_main.c 2 files changed, 12 insertions(+), 4 deletions(-)
Approvals: Jenkins Builder: Verified fixeria: Looks good to me, approved
diff --git a/src/gtphub/gtphub_main.c b/src/gtphub/gtphub_main.c index d25123e..9b0532b 100644 --- a/src/gtphub/gtphub_main.c +++ b/src/gtphub/gtphub_main.c @@ -354,8 +354,7 @@ }
/* 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 04de6a2..d6afdef 100644 --- a/src/sgsn/sgsn_main.c +++ b/src/sgsn/sgsn_main.c @@ -442,8 +442,7 @@ }
/* 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);