osmo-pcu: Transition to use of 'telnet_init_default'
Related: OS#5809 Change-Id: I9559486ce64a9ccf348b4ee0e1d09141dbc1ae8f
This commit is contained in:
parent
ea6d534369
commit
9e732ae4b1
|
@ -300,8 +300,7 @@ int main(int argc, char *argv[])
|
||||||
gsmtap_source_add_sink(pcu->gsmtap);
|
gsmtap_source_add_sink(pcu->gsmtap);
|
||||||
}
|
}
|
||||||
|
|
||||||
rc = telnet_init_dynif(tall_pcu_ctx, NULL, vty_get_bind_addr(),
|
rc = telnet_init_default(tall_pcu_ctx, NULL, OSMO_VTY_PORT_PCU);
|
||||||
OSMO_VTY_PORT_PCU);
|
|
||||||
if (rc < 0) {
|
if (rc < 0) {
|
||||||
fprintf(stderr, "Error initializing telnet\n");
|
fprintf(stderr, "Error initializing telnet\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
Loading…
Reference in New Issue