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
This commit is contained in:
Neels Hofmeyr 2016-09-26 22:44:18 +02:00
parent 74b0565d9f
commit c83e49fc8d
2 changed files with 0 additions and 3 deletions

View File

@ -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");

View File

@ -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");