Transition to use of 'telnet_init_default'
Related: OS#5809 Change-Id: Icc57c68337d55c6594c1c36e9bf41624d11dab0achanges/23/31523/2
parent
f8a5066ad0
commit
642019f288
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue