cosmetic: osmo-hnbgw: log remote SCCP addresses on startup

Change-Id: I6395dcde35359617cae52ff59d4eb53930097c7d
This commit is contained in:
Neels Hofmeyr 2017-11-23 00:40:04 +01:00
parent 2af648f443
commit b593969dd7
1 changed files with 5 additions and 0 deletions

View File

@ -506,6 +506,11 @@ int hnbgw_cnlink_init(struct hnb_gw *gw, const char *stp_host, uint16_t stp_port
return -1;
}
LOGP(DRANAP, LOGL_NOTICE, "Remote SCCP addr: IuCS: %s\n",
osmo_sccp_addr_name(ss7, &gw->sccp.iucs_remote_addr));
LOGP(DRANAP, LOGL_NOTICE, "Remote SCCP addr: IuPS: %s\n",
osmo_sccp_addr_name(ss7, &gw->sccp.iups_remote_addr));
/* In sccp_sap_up() we expect the cnlink in the user's priv. */
osmo_sccp_user_set_priv(cnlink->sccp_user, cnlink);