diff options
Diffstat (limited to 'extensions/libxt_cgroup.c')
-rw-r--r-- | extensions/libxt_cgroup.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/extensions/libxt_cgroup.c b/extensions/libxt_cgroup.c index fcd77c3f..480d64c9 100644 --- a/extensions/libxt_cgroup.c +++ b/extensions/libxt_cgroup.c @@ -121,20 +121,20 @@ static void cgroup_save_v1(const void *ip, const struct xt_entry_match *match) info->classid); } -static int cgroup_xlate_v0(const void *ip, const struct xt_entry_match *match, - struct xt_xlate *xl, int numeric) +static int cgroup_xlate_v0(struct xt_xlate *xl, + const struct xt_xlate_mt_params *params) { - const struct xt_cgroup_info_v0 *info = (void *)match->data; + const struct xt_cgroup_info_v0 *info = (void *)params->match->data; xt_xlate_add(xl, "meta cgroup %s%u", info->invert ? "!= " : "", info->id); return 1; } -static int cgroup_xlate_v1(const void *ip, const struct xt_entry_match *match, - struct xt_xlate *xl, int numeric) +static int cgroup_xlate_v1(struct xt_xlate *xl, + const struct xt_xlate_mt_params *params) { - const struct xt_cgroup_info_v1 *info = (void *)match->data; + const struct xt_cgroup_info_v1 *info = (void *)params->match->data; if (info->has_path) return 0; |