mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-11-02 13:03:33 +00:00
nat: Improve the log message in case we have SCCP data without a connection
Describe which kind of data we have and where it was coming from as this makes debugging a bit easier.
This commit is contained in:
@@ -767,7 +767,10 @@ static int forward_sccp_to_msc(struct bsc_connection *bsc, struct msgb *msg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!con_msc) {
|
if (!con_msc) {
|
||||||
LOGP(DNAT, LOGL_ERROR, "No connection found, dropping data.\n");
|
LOGP(DNAT, LOGL_ERROR, "Not forwarding data bsc_nr: %d ipa: %d type: 0x%x\n",
|
||||||
|
bsc->cfg->nr,
|
||||||
|
parsed ? parsed->ipa_proto : -1,
|
||||||
|
parsed ? parsed->sccp_type : -1);
|
||||||
goto exit2;
|
goto exit2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user