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.
This commit is contained in:
parent
27aab2e1c5
commit
c8b2c2f10e
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue