ikev2: add hint to the log when IDs do not match
Type: improvement Ticket: VPP-1908 Change-Id: I1d86ea18fcb6174b86c449d5d9403fd0e5715318 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
This commit is contained in:
committed by
Beno�t Ganne
parent
a0951d4b3b
commit
bdd14fc2a3
@@ -1666,7 +1666,11 @@ ikev2_sa_auth (ikev2_sa_t * sa)
|
||||
sel_p = p;
|
||||
break;
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
ikev2_elog_uint (IKEV2_LOG_ERROR, "shared key mismatch! ispi %lx",
|
||||
sa->ispi);
|
||||
}
|
||||
}
|
||||
else if (sa_auth->method == IKEV2_AUTH_METHOD_RSA_SIG)
|
||||
{
|
||||
@@ -1679,6 +1683,11 @@ ikev2_sa_auth (ikev2_sa_t * sa)
|
||||
sel_p = p;
|
||||
break;
|
||||
}
|
||||
else
|
||||
{
|
||||
ikev2_elog_uint (IKEV2_LOG_ERROR,
|
||||
"cert verification failed! ispi %lx", sa->ispi);
|
||||
}
|
||||
}
|
||||
|
||||
vec_free(auth);
|
||||
|
||||
Reference in New Issue
Block a user