Adapted shunt manager to changed kernel interface (reqid in del_policy).
authorTobias Brunner <tobias@strongswan.org>
Wed, 6 Jul 2011 10:48:26 +0000 (12:48 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 6 Jul 2011 10:48:26 +0000 (12:48 +0200)
src/libcharon/sa/shunt_manager.c

index d33ca0e..f18c07c 100644 (file)
@@ -146,17 +146,20 @@ static void uninstall_shunt_policy(child_cfg_t *child)
                        /* uninstall out policy */
                        status |= hydra->kernel_interface->del_policy(
                                                        hydra->kernel_interface, my_ts, other_ts,
-                                                       POLICY_OUT, child->get_mark(child, FALSE), FALSE);
+                                                       POLICY_OUT, 0, child->get_mark(child, FALSE),
+                                                       FALSE);
 
                        /* uninstall in policy */
                        status |= hydra->kernel_interface->del_policy(
                                                        hydra->kernel_interface, other_ts, my_ts,
-                                                       POLICY_IN, child->get_mark(child, TRUE), FALSE);
+                                                       POLICY_IN, 0, child->get_mark(child, TRUE),
+                                                       FALSE);
 
                        /* uninstall forward policy */
                        status |= hydra->kernel_interface->del_policy(
                                                        hydra->kernel_interface, other_ts, my_ts,
-                                                       POLICY_FWD, child->get_mark(child, TRUE), FALSE);
+                                                       POLICY_FWD, 0, child->get_mark(child, TRUE),
+                                                       FALSE);
                }
                e_other_ts->destroy(e_other_ts);
        }