diff --git a/src/tests/hnb-test.c b/src/tests/hnb-test.c index 2c73fedd..de75186d 100644 --- a/src/tests/hnb-test.c +++ b/src/tests/hnb-test.c @@ -950,7 +950,7 @@ int main(int argc, char **argv) vty_init(&vty_info); hnbtest_vty_init(); - rc = telnet_init_dynif(NULL, NULL, vty_get_bind_addr(), 2324); + rc = telnet_init_default(NULL, NULL, 2324); if (rc < 0) { perror("Error binding VTY port"); exit(1);