aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcu_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcu_main.cpp')
-rw-r--r--src/pcu_main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp
index afdfdc7..4a75c79 100644
--- a/src/pcu_main.cpp
+++ b/src/pcu_main.cpp
@@ -251,7 +251,8 @@ int main(int argc, char *argv[])
fprintf(stderr, "No config file: '%s' Using default config.\n",
config_file);
- rc = telnet_init(tall_pcu_ctx, NULL, OSMO_VTY_PORT_PCU);
+ rc = telnet_init_dynif(tall_pcu_ctx, NULL, vty_get_bind_addr(),
+ OSMO_VTY_PORT_PCU);
if (rc < 0) {
fprintf(stderr, "Error initializing telnet\n");
exit(1);