forked from acouzens/open5gs
for test..disable NAS MAC check
This commit is contained in:
parent
f35aa2178f
commit
52c6504c65
|
@ -151,7 +151,9 @@ status_t nas_security_decode(mme_ue_t *mme_ue,
|
|||
if (memcmp(mac + 2, pkbuf->payload + 2, 2) != 0)
|
||||
{
|
||||
d_error("NAS MAC verification failed");
|
||||
#if 0
|
||||
mme_ue->mac_failed = 1;
|
||||
#endif
|
||||
}
|
||||
|
||||
return CORE_OK;
|
||||
|
@ -215,7 +217,9 @@ status_t nas_security_decode(mme_ue_t *mme_ue,
|
|||
{
|
||||
d_warn("NAS MAC verification failed(0x%x != 0x%x)",
|
||||
ntohl(h->message_authentication_code), ntohl(mac32));
|
||||
#if 0
|
||||
mme_ue->mac_failed = 1;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue