diff options
authorNeels Hofmeyr <neels@hofmeyr.de>2017-11-20 16:57:29 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2017-11-20 17:00:20 +0100
commit8e1c07308c10abd6aab7c8fb32efd6eed6875f7c (patch)
parent4325a2ac4bb723ad71f3e22dcb7acee5a23b408b (diff)
osmo-hnbgw: drop erratic log line on remote STP address
The stp_host is just the *default* that may be overridden by the VTY configuration. Don't log it as the one that is going to be used. It's not trivial to print the actual IP address being used, there may be any number of ASP, theoretically. Hence leave logging up to osmo_sccp_simple_client_on_ss7_id(), after another hypothetical patch. Change-Id: Ia438143606913faccc8cdf4fd5f7d376f93e7891
1 files changed, 0 insertions, 2 deletions
diff --git a/src/hnbgw_cn.c b/src/hnbgw_cn.c
index 3b828b4..81ef670 100644
--- a/src/hnbgw_cn.c
+++ b/src/hnbgw_cn.c
@@ -474,8 +474,6 @@ int hnbgw_cnlink_init(struct hnb_gw *gw, const char *stp_host, uint16_t stp_port
local_pc = ss7->cfg.primary_pc;
osmo_sccp_make_addr_pc_ssn(&gw->sccp.local_addr, local_pc, OSMO_SCCP_SSN_RANAP);
- LOGP(DRANAP, LOGL_NOTICE, "M3UA uplink to STP: %s %u\n", stp_host, stp_port);
LOGP(DRANAP, LOGL_NOTICE, "Local SCCP addr: %s\n", osmo_sccp_addr_name(ss7, &gw->sccp.local_addr));
gw->sccp.client = osmo_sccp_simple_client_on_ss7_id(gw, ss7->cfg.id, "OsmoHNBGW",