During reauthentication reestablish IKE_SA even if deleting the old one fails.
This commit is contained in:
parent
23470d849a
commit
7457143072
|
@ -1627,6 +1627,12 @@ METHOD(ike_sa_t, retransmit, status_t,
|
|||
}
|
||||
case IKE_DELETING:
|
||||
DBG1(DBG_IKE, "proper IKE_SA delete failed, peer not responding");
|
||||
if (this->is_reauthenticating)
|
||||
{
|
||||
DBG1(DBG_IKE, "delete during reauthentication failed, "
|
||||
"trying to reestablish IKE_SA anyway");
|
||||
reestablish(this);
|
||||
}
|
||||
break;
|
||||
case IKE_REKEYING:
|
||||
DBG1(DBG_IKE, "rekeying IKE_SA failed, peer not responding");
|
||||
|
|
Loading…
Reference in New Issue