aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorarehbein <arehbein@sysmocom.de>2022-12-19 21:28:40 +0100
committerarehbein <arehbein@sysmocom.de>2022-12-19 22:34:39 +0100
commitad15cf439755e4f217b383ad0eb1ed209f1d93ed (patch)
tree883c4d0dfe1d3211d7484d81f43d92dc1e1d8552 /src
parentdf67b3535a747c35bfe076122cbd3de914961a5b (diff)
osmo-e1d: Transition to use of 'telnet_init_default'
Diffstat (limited to 'src')
-rw-r--r--src/osmo-e1d.c2
-rw-r--r--src/osmo-e1gen.c2
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);