Check if colliding task has actually a CHILD, i.e. after a migrate
This commit is contained in:
@@ -252,9 +252,12 @@ static child_sa_t *handle_collision(private_child_rekey_t *this)
|
||||
{
|
||||
/* disable close action for the redundand child */
|
||||
child_sa = other->child_create->get_child(other->child_create);
|
||||
if (child_sa)
|
||||
{
|
||||
child_sa->set_close_action(child_sa, ACTION_NONE);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
DBG1(DBG_IKE, "CHILD_SA rekey collision lost, "
|
||||
|
||||
Reference in New Issue
Block a user