mirror of
https://github.com/open5gs/open5gs.git
synced 2025-11-02 04:53:37 +00:00
rollback previous commit
This commit is contained in:
@@ -151,9 +151,7 @@ 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;
|
||||
@@ -217,9 +215,7 @@ 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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -151,7 +151,7 @@ static int _gtpv1_u_recv_cb(sock_id sock, void *data)
|
||||
if (!subnet)
|
||||
{
|
||||
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);
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user