aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/kernel_libipsec
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2016-02-04 10:57:31 +0100
committerTobias Brunner <tobias@strongswan.org>2016-02-04 11:02:59 +0100
commite8140531fce7c71c7d91cbcb6e6ecaa634b7f3e3 (patch)
tree0a85ae2d2448db35dfeb586fea9fe4e718510142 /src/libcharon/plugins/kernel_libipsec
parente1e88d5adde099566fee98338026e815dd1e9044 (diff)
downloadstrongswan-e8140531fce7c71c7d91cbcb6e6ecaa634b7f3e3.tar.bz2
strongswan-e8140531fce7c71c7d91cbcb6e6ecaa634b7f3e3.tar.xz
libipsec: Pass the same data to del_policy() as to add_policy()
We already do this for the other kernel interfaces. Fixes e1e88d5adde0 ("libipsec: Don't attempt deletion of any non-IPsec policies")
Diffstat (limited to 'src/libcharon/plugins/kernel_libipsec')
-rw-r--r--src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c b/src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c
index d738e6d13..9f5f4edbd 100644
--- a/src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c
+++ b/src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c
@@ -571,8 +571,8 @@ METHOD(kernel_ipsec_t, del_policy, status_t,
policy_entry_t *policy, *found = NULL;
status_t status;
- status = ipsec->policies->del_policy(ipsec->policies, src_ts, dst_ts,
- direction, sa->reqid, mark, priority);
+ status = ipsec->policies->del_policy(ipsec->policies, src, dst, src_ts,
+ dst_ts, direction, type, sa, mark, priority);
policy = create_policy_entry(src_ts, dst_ts, direction);