libipsec: Pass the same data to del_policy() as to add_policy()
[strongswan.git] / src / frontends / android / app / src / main / jni / libandroidbridge / kernel / android_ipsec.c
index 2eef49f..1eb6084 100644 (file)
@@ -131,8 +131,9 @@ METHOD(kernel_ipsec_t, del_policy, status_t,
        policy_dir_t direction, policy_type_t type, ipsec_sa_cfg_t *sa,
        mark_t mark, policy_priority_t priority)
 {
-       return ipsec->policies->del_policy(ipsec->policies, src_ts, dst_ts,
-                                                                          direction, sa->reqid, mark, priority);
+       return ipsec->policies->del_policy(ipsec->policies, src, dst, src_ts,
+                                                                          dst_ts,  direction, type, sa, mark,
+                                                                          priority);
 }
 
 METHOD(kernel_ipsec_t, flush_policies, status_t,