diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-09-26 22:44:18 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-09-26 22:44:18 +0200 |
commit | c83e49fc8ddb64fabf506ec3ed8cb622a4e4772c (patch) | |
tree | 97994078d43e6980a2a4d659b238c781e3389f1b | |
parent | 74b0565d9f1a7abbd665b8456b7a851e1d47f0a8 (diff) |
log VTY telnet bind only once
After libosmocore 55dc2edc89c1a85187ef8aafc09f7d922383231f which outputs
'telnet at <ip> <port>' from telnet_init_dynif(), there's no need to log the
telnet VTY bind here anymore.
Change-Id: Icd9e670c1d30c156f7bd5d0d34892150aeba95e9
-rw-r--r-- | src/hnbgw.c | 2 | ||||
-rw-r--r-- | src/tests/hnb-test.c | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/hnbgw.c b/src/hnbgw.c index d50e622..8c860b1 100644 --- a/src/hnbgw.c +++ b/src/hnbgw.c @@ -474,8 +474,6 @@ int main(int argc, char **argv) log_set_log_level(osmo_stderr_target, hnbgw_cmdline_config.log_level); - LOGP(DMAIN, LOGL_NOTICE, "VTY at %s %d\n", - vty_get_bind_addr(), 2323); rc = telnet_init_dynif(NULL, g_hnb_gw, vty_get_bind_addr(), 2323); if (rc < 0) { perror("Error binding VTY port"); diff --git a/src/tests/hnb-test.c b/src/tests/hnb-test.c index d338077..68a3117 100644 --- a/src/tests/hnb-test.c +++ b/src/tests/hnb-test.c @@ -944,7 +944,6 @@ int main(int argc, char **argv) vty_init(&vty_info); hnbtest_vty_init(); - 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"); |