Adapted shunt manager to changed kernel interface (reqid in del_policy).
This commit is contained in:
parent
674bc34322
commit
0c2ce1905a
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue