forked from acouzens/open5gs
rollback previous commit
This commit is contained in:
parent
52c6504c65
commit
9b8eef2545
|
@ -151,9 +151,7 @@ status_t nas_security_decode(mme_ue_t *mme_ue,
|
||||||
if (memcmp(mac + 2, pkbuf->payload + 2, 2) != 0)
|
if (memcmp(mac + 2, pkbuf->payload + 2, 2) != 0)
|
||||||
{
|
{
|
||||||
d_error("NAS MAC verification failed");
|
d_error("NAS MAC verification failed");
|
||||||
#if 0
|
|
||||||
mme_ue->mac_failed = 1;
|
mme_ue->mac_failed = 1;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return CORE_OK;
|
return CORE_OK;
|
||||||
|
@ -217,9 +215,7 @@ status_t nas_security_decode(mme_ue_t *mme_ue,
|
||||||
{
|
{
|
||||||
d_warn("NAS MAC verification failed(0x%x != 0x%x)",
|
d_warn("NAS MAC verification failed(0x%x != 0x%x)",
|
||||||
ntohl(h->message_authentication_code), ntohl(mac32));
|
ntohl(h->message_authentication_code), ntohl(mac32));
|
||||||
#if 0
|
|
||||||
mme_ue->mac_failed = 1;
|
mme_ue->mac_failed = 1;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -151,7 +151,7 @@ static int _gtpv1_u_recv_cb(sock_id sock, void *data)
|
||||||
if (!subnet)
|
if (!subnet)
|
||||||
{
|
{
|
||||||
d_print_hex(pkbuf->payload, pkbuf->len);
|
d_print_hex(pkbuf->payload, pkbuf->len);
|
||||||
d_warn(0, "[DROP] Cannot find subnet V:%d, IPv4:%p, IPv6:%p",
|
d_warn("[DROP] Cannot find subnet V:%d, IPv4:%p, IPv6:%p",
|
||||||
ip_h->ip_v, sess->ipv4, sess->ipv6);
|
ip_h->ip_v, sess->ipv4, sess->ipv6);
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue