diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-09-30 03:12:44 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-09-30 03:12:46 +0200 |
commit | aba82097b6e042d6ae3728ca2daf045242d8479a (patch) | |
tree | 761be0053dc1c0ab063192ac1af5d07012be5663 | |
parent | c6a44bbab90bfc67ffcf6b5057197fff3b733bdc (diff) |
log CTRL bind only once
After libosmocore 38d232ee5d2ceb045d9ad6d3a23afcb4972523f7 which outputs
'CTRL at <ip> <port>' from ctrl_interface_setup_dynip(), there's no need to log
the CTRL bind here anymore.
Change-Id: I1a874efe365a1ecf8ec37b058215b95b9a635ec2
-rw-r--r-- | openbsc/src/gprs/sgsn_main.c | 2 | ||||
-rw-r--r-- | openbsc/src/osmo-bsc/osmo_bsc_main.c | 2 | ||||
-rw-r--r-- | openbsc/src/osmo-bsc_nat/bsc_nat.c | 2 | ||||
-rw-r--r-- | openbsc/src/osmo-nitb/bsc_hack.c | 2 |
4 files changed, 0 insertions, 8 deletions
diff --git a/openbsc/src/gprs/sgsn_main.c b/openbsc/src/gprs/sgsn_main.c index 93848f5e2..822c35930 100644 --- a/openbsc/src/gprs/sgsn_main.c +++ b/openbsc/src/gprs/sgsn_main.c @@ -389,8 +389,6 @@ int main(int argc, char **argv) /* start control interface after reading config for * ctrl_vty_get_bind_addr() */ - LOGP(DGPRS, LOGL_NOTICE, "CTRL at %s %d\n", - ctrl_vty_get_bind_addr(), OSMO_CTRL_PORT_SGSN); ctrl = sgsn_controlif_setup(NULL, ctrl_vty_get_bind_addr(), OSMO_CTRL_PORT_SGSN); if (!ctrl) { diff --git a/openbsc/src/osmo-bsc/osmo_bsc_main.c b/openbsc/src/osmo-bsc/osmo_bsc_main.c index 2ee5fb44e..d3128e45e 100644 --- a/openbsc/src/osmo-bsc/osmo_bsc_main.c +++ b/openbsc/src/osmo-bsc/osmo_bsc_main.c @@ -229,8 +229,6 @@ int main(int argc, char **argv) /* start control interface after reading config for * ctrl_vty_get_bind_addr() */ - LOGP(DNM, LOGL_NOTICE, "CTRL at %s %d\n", - ctrl_vty_get_bind_addr(), OSMO_CTRL_PORT_NITB_BSC); bsc_gsmnet->ctrl = bsc_controlif_setup(bsc_gsmnet, ctrl_vty_get_bind_addr(), OSMO_CTRL_PORT_NITB_BSC); diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat.c b/openbsc/src/osmo-bsc_nat/bsc_nat.c index 57cc8b319..6ae8c0501 100644 --- a/openbsc/src/osmo-bsc_nat/bsc_nat.c +++ b/openbsc/src/osmo-bsc_nat/bsc_nat.c @@ -1669,8 +1669,6 @@ int main(int argc, char **argv) /* start control interface after reading config for * ctrl_vty_get_bind_addr() */ - LOGP(DNAT, LOGL_NOTICE, "CTRL at %s %d\n", - ctrl_vty_get_bind_addr(), OSMO_CTRL_PORT_BSC_NAT); nat->ctrl = bsc_nat_controlif_setup(nat, ctrl_vty_get_bind_addr(), OSMO_CTRL_PORT_BSC_NAT); if (!nat->ctrl) { diff --git a/openbsc/src/osmo-nitb/bsc_hack.c b/openbsc/src/osmo-nitb/bsc_hack.c index 8e1ddaecd..28dbb6f90 100644 --- a/openbsc/src/osmo-nitb/bsc_hack.c +++ b/openbsc/src/osmo-nitb/bsc_hack.c @@ -313,8 +313,6 @@ int main(int argc, char **argv) /* start control interface after reading config for * ctrl_vty_get_bind_addr() */ - LOGP(DNM, LOGL_NOTICE, "CTRL at %s %d\n", - ctrl_vty_get_bind_addr(), OSMO_CTRL_PORT_NITB_BSC); bsc_gsmnet->ctrl = bsc_controlif_setup(bsc_gsmnet, ctrl_vty_get_bind_addr(), OSMO_CTRL_PORT_NITB_BSC); |