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:
parent
89d20b60ef
commit
dab3e34d0b
|
@ -271,8 +271,6 @@ int main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* start telnet after reading config for vty_get_bind_addr() */
|
/* 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,
|
rc = telnet_init_dynif(tall_bsc_ctx, &dummy_network,
|
||||||
vty_get_bind_addr(), OSMO_VTY_PORT_GBPROXY);
|
vty_get_bind_addr(), OSMO_VTY_PORT_GBPROXY);
|
||||||
if (rc < 0)
|
if (rc < 0)
|
||||||
|
|
|
@ -325,8 +325,6 @@ int main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* start telnet after reading config for vty_get_bind_addr() */
|
/* 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(),
|
rc = telnet_init_dynif(osmo_gtphub_ctx, 0, vty_get_bind_addr(),
|
||||||
OSMO_VTY_PORT_GTPHUB);
|
OSMO_VTY_PORT_GTPHUB);
|
||||||
if (rc < 0)
|
if (rc < 0)
|
||||||
|
|
|
@ -382,8 +382,6 @@ int main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* start telnet after reading config for vty_get_bind_addr() */
|
/* 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,
|
rc = telnet_init_dynif(tall_bsc_ctx, &dummy_network,
|
||||||
vty_get_bind_addr(), OSMO_VTY_PORT_SGSN);
|
vty_get_bind_addr(), OSMO_VTY_PORT_SGSN);
|
||||||
if (rc < 0)
|
if (rc < 0)
|
||||||
|
|
|
@ -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() */
|
/* 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(),
|
rc = telnet_init_dynif(tall_bsc_ctx, bsc_gsmnet, vty_get_bind_addr(),
|
||||||
OSMO_VTY_PORT_NITB_BSC);
|
OSMO_VTY_PORT_NITB_BSC);
|
||||||
if (rc < 0)
|
if (rc < 0)
|
||||||
|
|
|
@ -233,8 +233,6 @@ int main(int argc, char **argv)
|
||||||
return rc;
|
return rc;
|
||||||
|
|
||||||
/* start telnet after reading config for vty_get_bind_addr() */
|
/* 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,
|
rc = telnet_init_dynif(tall_bsc_ctx, &dummy_network,
|
||||||
vty_get_bind_addr(), OSMO_VTY_PORT_BSC_MGCP);
|
vty_get_bind_addr(), OSMO_VTY_PORT_BSC_MGCP);
|
||||||
if (rc < 0)
|
if (rc < 0)
|
||||||
|
|
|
@ -1639,8 +1639,6 @@ int main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* start telnet after reading config for vty_get_bind_addr() */
|
/* 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(),
|
if (telnet_init_dynif(tall_bsc_ctx, NULL, vty_get_bind_addr(),
|
||||||
OSMO_VTY_PORT_BSC_NAT)) {
|
OSMO_VTY_PORT_BSC_NAT)) {
|
||||||
fprintf(stderr, "Creating VTY telnet line failed\n");
|
fprintf(stderr, "Creating VTY telnet line failed\n");
|
||||||
|
|
Loading…
Reference in New Issue