trap-manager: Remove reqid parameter from install() and change return type
Reqids for the same traffic selectors are now stable so we don't have to pass reqids of previously installed CHILD_SAs. Likewise, we don't need to know the reqid of the newly installed trap policy as we now uninstall by name.
This commit is contained in:
@@ -75,7 +75,7 @@ METHOD(job_t, execute, job_requeue_t,
|
||||
else
|
||||
{
|
||||
charon->traps->install(charon->traps, peer_cfg,
|
||||
child_cfg, 0);
|
||||
child_cfg);
|
||||
}
|
||||
break;
|
||||
case ACTION_NONE:
|
||||
|
||||
Reference in New Issue
Block a user