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