diff options
Diffstat (limited to 'extensions/libip6t_hl.c')
-rw-r--r-- | extensions/libip6t_hl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libip6t_hl.c b/extensions/libip6t_hl.c index 226b69c3..9fe893a3 100644 --- a/extensions/libip6t_hl.c +++ b/extensions/libip6t_hl.c @@ -84,7 +84,7 @@ static void hl_save(const void *ip, const struct xt_entry_match *match) } static int hl_xlate(const struct xt_entry_match *match, - struct xt_buf *buf, int numeric) + struct xt_xlate *xl, int numeric) { static const char *const op[] = { [IP6T_HL_EQ] = "", @@ -95,7 +95,7 @@ static int hl_xlate(const struct xt_entry_match *match, const struct ip6t_hl_info *info = (struct ip6t_hl_info *) match->data; - xt_buf_add(buf, "ip6 hoplimit %s%u ", op[info->mode], info->hop_limit); + xt_xlate_add(xl, "ip6 hoplimit %s%u ", op[info->mode], info->hop_limit); return 1; } |