mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
gprs_gmm: Log service request if not receieved from Iu mode
This commit is contained in:
committed by
Neels Hofmeyr
parent
8146cfa782
commit
da7424cc54
@@ -1405,8 +1405,10 @@ static int gsm48_rx_gmm_service_req(struct sgsn_mm_ctx *ctx, struct msgb *msg)
|
||||
LOGMMCTXP(LOGL_INFO, ctx, "-> GMM SERVICE REQUEST ");
|
||||
|
||||
/* This message is only valid in Iu mode */
|
||||
if (!msg->dst)
|
||||
if (!msg->dst) {
|
||||
LOGPC(DMM, LOGL_INFO, "Invalid if not in Iu mode\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* Skip Ciphering key sequence number 10.5.1.2 */
|
||||
ciph_seq_nr = *cur & 0x07;
|
||||
|
Reference in New Issue
Block a user