From c83e49fc8ddb64fabf506ec3ed8cb622a4e4772c Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Mon, 26 Sep 2016 22:44:18 +0200 Subject: log VTY telnet bind only once After libosmocore 55dc2edc89c1a85187ef8aafc09f7d922383231f which outputs 'telnet at ' from telnet_init_dynif(), there's no need to log the telnet VTY bind here anymore. Change-Id: Icd9e670c1d30c156f7bd5d0d34892150aeba95e9 --- src/hnbgw.c | 2 -- src/tests/hnb-test.c | 1 - 2 files changed, 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"); -- cgit v1.2.3