diff options
Diffstat (limited to 'extensions/libxt_cpu.c')
-rw-r--r-- | extensions/libxt_cpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libxt_cpu.c b/extensions/libxt_cpu.c index 74e6077e..02286c28 100644 --- a/extensions/libxt_cpu.c +++ b/extensions/libxt_cpu.c @@ -45,11 +45,11 @@ static void cpu_save(const void *ip, const struct xt_entry_match *match) } static int cpu_xlate(const struct xt_entry_match *match, - struct xt_buf *buf, int numeric) + struct xt_xlate *xl, int numeric) { const struct xt_cpu_info *info = (void *)match->data; - xt_buf_add(buf, "cpu%s %u ", info->invert ? " !=" : "", info->cpu); + xt_xlate_add(xl, "cpu%s %u ", info->invert ? " !=" : "", info->cpu); return 1; } |