Transition to use of 'telnet_init_default'

Related: OS#5809
Change-Id: Icc57c68337d55c6594c1c36e9bf41624d11dab0a
This commit is contained in:
arehbein 2023-02-25 17:48:58 +01:00
parent f8a5066ad0
commit 642019f288
2 changed files with 2 additions and 4 deletions

View File

@ -354,8 +354,7 @@ int main(int argc, char **argv)
} }
/* start telnet after reading config for vty_get_bind_addr() */ /* start telnet after reading config for vty_get_bind_addr() */
rc = telnet_init_dynif(osmo_gtphub_ctx, 0, vty_get_bind_addr(), rc = telnet_init_default(osmo_gtphub_ctx, NULL, OSMO_VTY_PORT_GTPHUB);
OSMO_VTY_PORT_GTPHUB);
if (rc < 0) if (rc < 0)
exit(1); exit(1);

View File

@ -442,8 +442,7 @@ int main(int argc, char **argv)
} }
/* start telnet after reading config for vty_get_bind_addr() */ /* start telnet after reading config for vty_get_bind_addr() */
rc = telnet_init_dynif(tall_sgsn_ctx, NULL, rc = telnet_init_default(tall_sgsn_ctx, NULL, OSMO_VTY_PORT_SGSN);
vty_get_bind_addr(), OSMO_VTY_PORT_SGSN);
if (rc < 0) if (rc < 0)
exit(1); exit(1);