Implemented resetting of IKEv1 task manager, enabling additional keyingtries

This commit is contained in:
Martin Willi
2012-03-20 17:31:29 +01:00
parent 94450913ef
commit d9c1dae293
2 changed files with 29 additions and 1 deletions
+1 -1
View File
@@ -1488,7 +1488,7 @@ METHOD(ike_sa_t, retransmit, status_t,
{
case IKE_CONNECTING:
{
/* retry IKE_SA_INIT if we have multiple keyingtries */
/* retry IKE_SA_INIT/Main Mode if we have multiple keyingtries */
u_int32_t tries = this->peer_cfg->get_keyingtries(this->peer_cfg);
this->keyingtry++;
if (tries == 0 || tries > this->keyingtry)