Transition to use of 'telnet_init_default'
Related: OS#5809 Change-Id: Icc57c68337d55c6594c1c36e9bf41624d11dab0a
This commit is contained in:
parent
36d3877483
commit
41089524a3
|
@ -285,8 +285,7 @@ int main(int argc, char **argv)
|
|||
}
|
||||
}
|
||||
|
||||
rc = telnet_init_dynif(NULL, NULL, config_file ? vty_get_bind_addr() : local_address,
|
||||
2324+client);
|
||||
rc = telnet_init_default(NULL, NULL, 2324 + client);
|
||||
if (rc < 0) {
|
||||
perror("Error binding VTY port");
|
||||
exit(1);
|
||||
|
|
|
@ -243,7 +243,7 @@ int main(int argc, char **argv)
|
|||
exit(1);
|
||||
}
|
||||
|
||||
rc = telnet_init_dynif(tall_stp_ctx, NULL, vty_get_bind_addr(), OSMO_VTY_PORT_STP);
|
||||
rc = telnet_init_default(tall_stp_ctx, NULL, OSMO_VTY_PORT_STP);
|
||||
if (rc < 0) {
|
||||
perror("Error binding VTY port\n");
|
||||
exit(1);
|
||||
|
|
|
@ -182,7 +182,7 @@ int main(int argc, char **argv)
|
|||
}
|
||||
}
|
||||
|
||||
rc = telnet_init_dynif(root_ctx, NULL, vty_get_bind_addr(), 42043);
|
||||
rc = telnet_init_default(root_ctx, NULL, 42043);
|
||||
if (rc < 0)
|
||||
return 2;
|
||||
|
||||
|
|
Loading…
Reference in New Issue