Avoid queueing more than one retry initiate job.
This commit is contained in:
@@ -54,7 +54,7 @@ METHOD(job_t, execute, void,
|
||||
}
|
||||
else
|
||||
{
|
||||
if (ike_sa->initiate(ike_sa, NULL, 0, NULL, NULL) == DESTROY_ME)
|
||||
if (ike_sa->retry_initiate(ike_sa) == DESTROY_ME)
|
||||
{
|
||||
charon->ike_sa_manager->checkin_and_destroy(charon->ike_sa_manager,
|
||||
ike_sa);
|
||||
|
||||
Reference in New Issue
Block a user