make use of the new trap-manager

This commit is contained in:
Martin Willi
2009-05-08 10:03:58 +02:00
parent eb8ed130af
commit 8c99451ae1
6 changed files with 41 additions and 64 deletions
+3 -2
View File
@@ -203,8 +203,9 @@ static status_t destroy_and_reestablish(private_child_delete_t *this)
child_cfg->get_ref(child_cfg);
status = this->ike_sa->initiate(this->ike_sa, child_cfg);
break;
case ACTION_ROUTE:
status = this->ike_sa->route(this->ike_sa, child_cfg);
case ACTION_ROUTE:
charon->traps->install(charon->traps,
this->ike_sa->get_peer_cfg(this->ike_sa), child_cfg);
break;
default:
break;