aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libcharon/sa/shunt_manager.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/libcharon/sa/shunt_manager.c b/src/libcharon/sa/shunt_manager.c
index d33ca0ed9..f18c07c51 100644
--- a/src/libcharon/sa/shunt_manager.c
+++ b/src/libcharon/sa/shunt_manager.c
@@ -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);
}