fixed child rekey collision

implemented ike rekey collision
This commit is contained in:
Martin Willi
2007-03-21 14:42:49 +00:00
parent 195ada0b4b
commit eef0859043
8 changed files with 150 additions and 67 deletions
+3 -3
View File
@@ -459,10 +459,10 @@ static void handle_collisions(private_task_manager_t *this, task_t *task)
switch (active->get_type(active))
{
case IKE_REKEY:
if (type == IKE_REKEY)
if (type == IKE_REKEY || type == IKE_DELETE)
{
//ike_rekey_t *rekey = (ike_rekey_t*)active;
//rekey->collide(rekey, (ike_rekey_t*)task);
ike_rekey_t *rekey = (ike_rekey_t*)active;
rekey->collide(rekey, task);
break;
}
continue;