diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-04-03 12:28:14 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-04-03 12:30:34 +0200 |
commit | c8b2c2f10ea8ad9f4bc8db656a7190dd5ea39f74 (patch) | |
tree | 68904dc4fc4e7965157dd8580a8b57bc067c42f7 /openbsc/src/osmo-bsc_nat/bsc_nat.c | |
parent | 27aab2e1c53ccce38d7efde2862b9218ff659c27 (diff) |
nat: Mention the the BSC the SCCP connection was on
The log message lacked a lot of context. A SCCP connection is
created on behalf of a configured BSC. This way we should be
able to always list this information.
Diffstat (limited to 'openbsc/src/osmo-bsc_nat/bsc_nat.c')
-rw-r--r-- | openbsc/src/osmo-bsc_nat/bsc_nat.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat.c b/openbsc/src/osmo-bsc_nat/bsc_nat.c index 524186a55..954cf1fc6 100644 --- a/openbsc/src/osmo-bsc_nat/bsc_nat.c +++ b/openbsc/src/osmo-bsc_nat/bsc_nat.c @@ -1462,9 +1462,11 @@ static void sccp_close_unconfirmed(void *_data) if (diff < SCCP_CLOSE_TIME_TIMEOUT) continue; - LOGP(DNAT, LOGL_ERROR, "SCCP connection 0x%x/0x%x was never confirmed.\n", - sccp_src_ref_to_int(&conn->real_ref), - sccp_src_ref_to_int(&conn->patched_ref)); + LOGP(DNAT, LOGL_ERROR, + "SCCP connection 0x%x/0x%x was never confirmed on bsc nr. %d\n", + sccp_src_ref_to_int(&conn->real_ref), + sccp_src_ref_to_int(&conn->patched_ref), + conn->bsc->cfg->nr); sccp_connection_destroy(conn); destroyed = 1; } |