mirror of https://gerrit.osmocom.org/osmo-pcap
Transition to use of 'telnet_init_default'
Related: OS#5809 Change-Id: Icc57c68337d55c6594c1c36e9bf41624d11dab0a
This commit is contained in:
parent
97c5c0c15c
commit
9d7556a73e
|
@ -283,7 +283,7 @@ int main(int argc, char **argv)
|
|||
exit(1);
|
||||
}
|
||||
|
||||
rc = telnet_init_dynif(tall_cli_ctx, NULL, vty_get_bind_addr(), OSMO_VTY_PORT_PCAP_CLIENT);
|
||||
rc = telnet_init_default(tall_cli_ctx, NULL, OSMO_VTY_PORT_PCAP_CLIENT);
|
||||
if (rc < 0) {
|
||||
LOGP(DCLIENT, LOGL_ERROR, "Failed to bind telnet interface\n");
|
||||
exit(1);
|
||||
|
|
|
@ -294,7 +294,7 @@ int main(int argc, char **argv)
|
|||
exit(1);
|
||||
}
|
||||
|
||||
rc = telnet_init_dynif(tall_srv_ctx, NULL, vty_get_bind_addr(), OSMO_VTY_PORT_PCAP_SERVER);
|
||||
rc = telnet_init_default(tall_srv_ctx, NULL, OSMO_VTY_PORT_PCAP_SERVER);
|
||||
if (rc < 0) {
|
||||
LOGP(DCLIENT, LOGL_ERROR, "Failed to bind telnet interface\n");
|
||||
exit(1);
|
||||
|
|
Loading…
Reference in New Issue