ike-sa: Add flags to force updating hosts/CHILD_SAs
This allows more fine grained control over what's updated and does not require multiple calls of the method. Plus we'll be able to use it in the ike-mobike task.
This commit is contained in:
@@ -76,7 +76,7 @@ METHOD(job_t, execute, job_requeue_t,
|
||||
}
|
||||
else
|
||||
{
|
||||
ike_sa->update_hosts(ike_sa, NULL, this->new, FALSE);
|
||||
ike_sa->update_hosts(ike_sa, NULL, this->new, 0);
|
||||
charon->ike_sa_manager->checkin(charon->ike_sa_manager, ike_sa);
|
||||
}
|
||||
return JOB_REQUEUE_NONE;
|
||||
|
||||
Reference in New Issue
Block a user