Adapted shunt manager to changed kernel interface (reqid in del_policy).
This commit is contained in:
@@ -146,17 +146,20 @@ static void uninstall_shunt_policy(child_cfg_t *child)
|
|||||||
/* uninstall out policy */
|
/* uninstall out policy */
|
||||||
status |= hydra->kernel_interface->del_policy(
|
status |= hydra->kernel_interface->del_policy(
|
||||||
hydra->kernel_interface, my_ts, other_ts,
|
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 */
|
/* uninstall in policy */
|
||||||
status |= hydra->kernel_interface->del_policy(
|
status |= hydra->kernel_interface->del_policy(
|
||||||
hydra->kernel_interface, other_ts, my_ts,
|
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 */
|
/* uninstall forward policy */
|
||||||
status |= hydra->kernel_interface->del_policy(
|
status |= hydra->kernel_interface->del_policy(
|
||||||
hydra->kernel_interface, other_ts, my_ts,
|
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);
|
e_other_ts->destroy(e_other_ts);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user