added CHILD_SA compare check for rekeying collisions

This commit is contained in:
Martin Willi
2007-03-22 07:34:42 +00:00
parent 1eb6a5f4a2
commit 92275b0981
6 changed files with 47 additions and 9 deletions
-1
View File
@@ -463,7 +463,6 @@ static void handle_collisions(private_task_manager_t *this, task_t *task)
}
continue;
case CHILD_REKEY:
/* TODO: check if it is the SAME child we are talking about! */
if (type == CHILD_REKEY || type == CHILD_DELETE)
{
child_rekey_t *rekey = (child_rekey_t*)active;