mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
[nat] Let IMSI DETACH and other messages pass by.
This commit is contained in:
@@ -378,9 +378,8 @@ int bsc_nat_filter_sccp_cr(struct bsc_connection *bsc, struct msgb *msg, struct
|
|||||||
hdr48->msg_type == GSM48_MT_RR_PAG_RESP) {
|
hdr48->msg_type == GSM48_MT_RR_PAG_RESP) {
|
||||||
return _cr_check_pag_resp(bsc, &hdr48->data[0], hdr48_len - sizeof(*hdr48));
|
return _cr_check_pag_resp(bsc, &hdr48->data[0], hdr48_len - sizeof(*hdr48));
|
||||||
} else {
|
} else {
|
||||||
LOGP(DNAT, LOGL_ERROR, "Unknown GSM48 content: proto: %d msg: %d\n",
|
/* We only want to filter the above, let other things pass */
|
||||||
hdr48->proto_discr, hdr48->msg_type);
|
return 0;
|
||||||
return -1;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user