diff options
author | arehbein <arehbein@sysmocom.de> | 2023-01-27 00:49:45 +0100 |
---|---|---|
committer | arehbein <arehbein@sysmocom.de> | 2023-01-27 00:49:45 +0100 |
commit | 0aa84cfde4ae6bd399fa7c9e53dcf440d173ba34 (patch) | |
tree | a562200a71886e4f9282e837afc696bba9cef0bf /tests | |
parent | d3455fa6207b74b544e06dfb4912fdcd39cfbb88 (diff) |
Replace remaining calls of telnet_init_dynif() by telnet_init_default()
Related: OS#5809
Change-Id: Ie762d0c642021db1a6ef95333cd771351de86845
Diffstat (limited to 'tests')
-rw-r--r-- | tests/logging/logging_vty_test.c | 2 | ||||
-rw-r--r-- | tests/stats/stats_vty_test.c | 2 | ||||
-rw-r--r-- | tests/tdef/tdef_vty_config_root_test.c | 2 | ||||
-rw-r--r-- | tests/tdef/tdef_vty_config_subnode_test.c | 2 | ||||
-rw-r--r-- | tests/tdef/tdef_vty_dynamic_test.c | 2 | ||||
-rw-r--r-- | tests/vty/vty_transcript_test.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/tests/logging/logging_vty_test.c b/tests/logging/logging_vty_test.c index 96b316db..15f7fc2b 100644 --- a/tests/logging/logging_vty_test.c +++ b/tests/logging/logging_vty_test.c @@ -261,7 +261,7 @@ int main(int argc, char **argv) } } - rc = telnet_init_dynif(root_ctx, NULL, vty_get_bind_addr(), 42042); + rc = telnet_init_default(root_ctx, NULL, 42042); if (rc < 0) return 2; diff --git a/tests/stats/stats_vty_test.c b/tests/stats/stats_vty_test.c index 09b125ac..29cbf5ec 100644 --- a/tests/stats/stats_vty_test.c +++ b/tests/stats/stats_vty_test.c @@ -70,7 +70,7 @@ int main(int argc, char **argv) osmo_stats_vty_add_cmds(); - rc = telnet_init_dynif(root_ctx, NULL, vty_get_bind_addr(), 42042); + rc = telnet_init_default(root_ctx, NULL, 42042); if (rc < 0) return 2; diff --git a/tests/tdef/tdef_vty_config_root_test.c b/tests/tdef/tdef_vty_config_root_test.c index e2dbcb4c..8c46d958 100644 --- a/tests/tdef/tdef_vty_config_root_test.c +++ b/tests/tdef/tdef_vty_config_root_test.c @@ -260,7 +260,7 @@ int main(int argc, char **argv) } } - rc = telnet_init_dynif(root_ctx, NULL, vty_get_bind_addr(), 42042); + rc = telnet_init_default(root_ctx, NULL, 42042); if (rc < 0) return 2; diff --git a/tests/tdef/tdef_vty_config_subnode_test.c b/tests/tdef/tdef_vty_config_subnode_test.c index d4abe096..e3e165da 100644 --- a/tests/tdef/tdef_vty_config_subnode_test.c +++ b/tests/tdef/tdef_vty_config_subnode_test.c @@ -253,7 +253,7 @@ int main(int argc, char **argv) } } - rc = telnet_init_dynif(root_ctx, NULL, vty_get_bind_addr(), 42042); + rc = telnet_init_default(root_ctx, NULL, 42042); if (rc < 0) return 2; diff --git a/tests/tdef/tdef_vty_dynamic_test.c b/tests/tdef/tdef_vty_dynamic_test.c index 715fa601..b646c54e 100644 --- a/tests/tdef/tdef_vty_dynamic_test.c +++ b/tests/tdef/tdef_vty_dynamic_test.c @@ -327,7 +327,7 @@ int main(int argc, char **argv) } } - rc = telnet_init_dynif(root_ctx, NULL, vty_get_bind_addr(), 42042); + rc = telnet_init_default(root_ctx, NULL, 42042); if (rc < 0) return 2; diff --git a/tests/vty/vty_transcript_test.c b/tests/vty/vty_transcript_test.c index 0f18f7eb..1754b67a 100644 --- a/tests/vty/vty_transcript_test.c +++ b/tests/vty/vty_transcript_test.c @@ -361,7 +361,7 @@ int main(int argc, char **argv) } } - rc = telnet_init_dynif(root_ctx, NULL, vty_get_bind_addr(), 42042); + rc = telnet_init_default(root_ctx, NULL, 42042); if (rc < 0) return 2; |