commit | a0d21479a775583cd3dc2bb55295b089284a1b07 | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Wed Feb 24 20:50:31 2016 +0100 |
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Wed Feb 24 20:51:04 2016 +0100 |
tree | 10049a9a48239c0c13056fb5309989f4b4f13b02 | |
parent | 19dea8b49b538a1918bd25d814c212fe397b3cad [diff] [blame] |
osmo-hnbgw, hnb-test: allow configuring VTY address
diff --git a/src/tests/hnb-test.c b/src/tests/hnb-test.c index 569bcdd..6ec5abd 100644 --- a/src/tests/hnb-test.c +++ b/src/tests/hnb-test.c
@@ -573,7 +573,8 @@ vty_init(&vty_info); hnbtest_vty_init(); - rc = telnet_init(NULL, NULL, 2324); + printf("VTY at %s %d\n", vty_get_bind_addr(), 2324); + rc = telnet_init_dynif(NULL, NULL, vty_get_bind_addr(), 2324); if (rc < 0) { perror("Error binding VTY port"); exit(1);