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: I97a730b28759df1d549a5049f47a3da1c16a3447
This commit is contained in:
Neels Hofmeyr 2016-09-26 22:49:12 +02:00 committed by Harald Welte
parent 89d20b60ef
commit dab3e34d0b
6 changed files with 0 additions and 12 deletions

View File

@ -271,8 +271,6 @@ int main(int argc, char **argv)
}
/* start telnet after reading config for vty_get_bind_addr() */
LOGP(DGPRS, LOGL_NOTICE, "VTY at %s %d\n",
vty_get_bind_addr(), OSMO_VTY_PORT_GBPROXY);
rc = telnet_init_dynif(tall_bsc_ctx, &dummy_network,
vty_get_bind_addr(), OSMO_VTY_PORT_GBPROXY);
if (rc < 0)

View File

@ -325,8 +325,6 @@ int main(int argc, char **argv)
}
/* start telnet after reading config for vty_get_bind_addr() */
LOGP(DGTPHUB, LOGL_NOTICE, "VTY at %s %d\n",
vty_get_bind_addr(), OSMO_VTY_PORT_GTPHUB);
rc = telnet_init_dynif(osmo_gtphub_ctx, 0, vty_get_bind_addr(),
OSMO_VTY_PORT_GTPHUB);
if (rc < 0)

View File

@ -382,8 +382,6 @@ int main(int argc, char **argv)
}
/* start telnet after reading config for vty_get_bind_addr() */
LOGP(DGPRS, LOGL_NOTICE, "VTY at %s %d\n",
vty_get_bind_addr(), OSMO_VTY_PORT_SGSN);
rc = telnet_init_dynif(tall_bsc_ctx, &dummy_network,
vty_get_bind_addr(), OSMO_VTY_PORT_SGSN);
if (rc < 0)

View File

@ -491,8 +491,6 @@ int bsc_bootstrap_network(int (*mncc_recv)(struct gsm_network *, struct msgb *),
}
/* start telnet after reading config for vty_get_bind_addr() */
LOGP(DNM, LOGL_NOTICE, "VTY at %s %d\n",
vty_get_bind_addr(), OSMO_VTY_PORT_NITB_BSC);
rc = telnet_init_dynif(tall_bsc_ctx, bsc_gsmnet, vty_get_bind_addr(),
OSMO_VTY_PORT_NITB_BSC);
if (rc < 0)

View File

@ -233,8 +233,6 @@ int main(int argc, char **argv)
return rc;
/* start telnet after reading config for vty_get_bind_addr() */
LOGP(DMGCP, LOGL_NOTICE, "VTY at %s %d\n",
vty_get_bind_addr(), OSMO_VTY_PORT_BSC_MGCP);
rc = telnet_init_dynif(tall_bsc_ctx, &dummy_network,
vty_get_bind_addr(), OSMO_VTY_PORT_BSC_MGCP);
if (rc < 0)

View File

@ -1639,8 +1639,6 @@ int main(int argc, char **argv)
}
/* start telnet after reading config for vty_get_bind_addr() */
LOGP(DNAT, LOGL_NOTICE, "VTY at %s %d\n",
vty_get_bind_addr(), OSMO_VTY_PORT_BSC_NAT);
if (telnet_init_dynif(tall_bsc_ctx, NULL, vty_get_bind_addr(),
OSMO_VTY_PORT_BSC_NAT)) {
fprintf(stderr, "Creating VTY telnet line failed\n");