rollback previous commit

This commit is contained in:
Sukchan Lee 2018-01-19 14:03:27 +09:00
parent 52c6504c65
commit 9b8eef2545
2 changed files with 1 additions and 5 deletions

View File

@ -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
}
}

View File

@ -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;
}