libipsec: Pass the same data to del_policy() as to add_policy()
We already do this for the other kernel interfaces.
Fixes e1e88d5add ("libipsec: Don't attempt deletion of any non-IPsec policies")
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user