aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/load_tester/load_tester_ipsec.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2015-09-16 16:44:09 +0200
committerTobias Brunner <tobias@strongswan.org>2015-11-10 16:42:52 +0100
commita6e0f14fd2bf8b23fbfd808acc595e97d5e23a49 (patch)
tree64b7633fa162732338093eedaa9f9a80bb81921b /src/libcharon/plugins/load_tester/load_tester_ipsec.c
parente2658390931608dd26390afec08e595a2feeed8b (diff)
downloadstrongswan-a6e0f14fd2bf8b23fbfd808acc595e97d5e23a49.tar.bz2
strongswan-a6e0f14fd2bf8b23fbfd808acc595e97d5e23a49.tar.xz
kernel-interface: Pass the same data to del_policy() that was passed to add_policy()
The additional data can be helpful to identify the exact policy to delete.
Diffstat (limited to 'src/libcharon/plugins/load_tester/load_tester_ipsec.c')
-rw-r--r--src/libcharon/plugins/load_tester/load_tester_ipsec.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libcharon/plugins/load_tester/load_tester_ipsec.c b/src/libcharon/plugins/load_tester/load_tester_ipsec.c
index 62d43e302..6a86bb899 100644
--- a/src/libcharon/plugins/load_tester/load_tester_ipsec.c
+++ b/src/libcharon/plugins/load_tester/load_tester_ipsec.c
@@ -103,8 +103,9 @@ METHOD(kernel_ipsec_t, query_policy, status_t,
}
METHOD(kernel_ipsec_t, del_policy, status_t,
- private_load_tester_ipsec_t *this, traffic_selector_t *src_ts,
- traffic_selector_t *dst_ts, policy_dir_t direction, u_int32_t reqid,
+ private_load_tester_ipsec_t *this, host_t *src, host_t *dst,
+ traffic_selector_t *src_ts, traffic_selector_t *dst_ts,
+ policy_dir_t direction, policy_type_t type, ipsec_sa_cfg_t *sa,
mark_t mark, policy_priority_t priority)
{
return SUCCESS;