diff options
author | arehbein <arehbein@sysmocom.de> | 2022-12-19 21:28:40 +0100 |
---|---|---|
committer | arehbein <arehbein@sysmocom.de> | 2022-12-19 22:34:39 +0100 |
commit | ad15cf439755e4f217b383ad0eb1ed209f1d93ed (patch) | |
tree | 883c4d0dfe1d3211d7484d81f43d92dc1e1d8552 | |
parent | df67b3535a747c35bfe076122cbd3de914961a5b (diff) |
osmo-e1d: Transition to use of 'telnet_init_default'
Related: OS#5809
Change-Id: I68fafc519d7c7ca9788bfcad7be1fadbb208cebe
-rw-r--r-- | src/osmo-e1d.c | 2 | ||||
-rw-r--r-- | src/osmo-e1gen.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo-e1d.c b/src/osmo-e1d.c index 2a07763..dc264d9 100644 --- a/src/osmo-e1d.c +++ b/src/osmo-e1d.c @@ -205,7 +205,7 @@ int main(int argc, char *argv[]) exit(2); } - rv = telnet_init_dynif(g_e1d_ctx, e1d, vty_get_bind_addr(), OSMO_VTY_PORT_E1D); + rv = telnet_init_default(g_e1d_ctx, e1d, OSMO_VTY_PORT_E1D); if (rv != 0) { LOGP(DE1D, LOGL_FATAL, "Failed to bind VTY interface to %s:%u\n", vty_get_bind_addr(), OSMO_VTY_PORT_E1D); diff --git a/src/osmo-e1gen.c b/src/osmo-e1gen.c index 15d677a..008f083 100644 --- a/src/osmo-e1gen.c +++ b/src/osmo-e1gen.c @@ -411,7 +411,7 @@ int main(int argc, char **argv) exit(2); } - rv = telnet_init_dynif(g_e1d_ctx, e1d, vty_get_bind_addr(), OSMO_VTY_PORT_E1D); + rv = telnet_init_default(g_e1d_ctx, e1d, OSMO_VTY_PORT_E1D); if (rv != 0) { LOGP(DE1D, LOGL_FATAL, "Failed to bind VTY interface to %s:%u\n", vty_get_bind_addr(), OSMO_VTY_PORT_E1D); |