mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-11-02 04:53:24 +00:00
bsc_nat: forward_sccp_to_msc(): assert con presence (CID #57872)
This commit is contained in:
committed by
Harald Welte
parent
312bf6ce8b
commit
a6e81a0986
@@ -1153,6 +1153,7 @@ static int forward_sccp_to_msc(struct bsc_connection *bsc, struct msgb *msg)
|
||||
if (!create_sccp_src_ref(bsc, parsed))
|
||||
goto exit2;
|
||||
con = patch_sccp_src_ref_to_msc(msg, parsed, bsc);
|
||||
OSMO_ASSERT(con);
|
||||
con->msc_con = bsc->nat->msc_con;
|
||||
con_msc = con->msc_con;
|
||||
con->filter_state.con_type = con_type;
|
||||
|
||||
Reference in New Issue
Block a user