child-delete: Only let SAs expire naturally if they not already did
This commit is contained in:
@@ -349,7 +349,7 @@ static status_t destroy_and_reestablish(private_child_delete_t *this)
|
|||||||
child_sa->get_unique_id(child_sa)), delay);
|
child_sa->get_unique_id(child_sa)), delay);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if (expire)
|
else if (now < expire)
|
||||||
{ /* let it expire naturally */
|
{ /* let it expire naturally */
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user