mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-06 00:00:47 -04:00
adopt-children-job: Avoid reordering CHILD_SAs
References strongswan/strongswan#1041
This commit is contained in:
parent
3b742c75ab
commit
64d73235c4
@ -212,8 +212,8 @@ METHOD(job_t, execute, job_requeue_t,
|
|||||||
this->id);
|
this->id);
|
||||||
if (ike_sa)
|
if (ike_sa)
|
||||||
{
|
{
|
||||||
while (children->remove_last(children,
|
while (children->remove_first(children,
|
||||||
(void**)&child_sa) == SUCCESS)
|
(void**)&child_sa) == SUCCESS)
|
||||||
{
|
{
|
||||||
ike_sa->add_child_sa(ike_sa, child_sa);
|
ike_sa->add_child_sa(ike_sa, child_sa);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user