Don't trigger reauthentication if initiator authenticated using XAuth

This commit is contained in:
Martin Willi
2012-03-20 17:31:32 +01:00
parent 2da3ff7a52
commit 7e9e1f96df
+1
View File
@@ -1326,6 +1326,7 @@ METHOD(ike_sa_t, reauth, status_t,
{
DBG1(DBG_IKE, "initiator did not reauthenticate as requested");
if (this->other_virtual_ip != NULL ||
has_condition(this, COND_XAUTH_AUTHENTICATED) ||
has_condition(this, COND_EAP_AUTHENTICATED)
#ifdef ME
/* as mediation server we too cannot reauth the IKE_SA */