diff options
Diffstat (limited to 'extensions/libipt_REJECT.c')
-rw-r--r-- | extensions/libipt_REJECT.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/libipt_REJECT.c b/extensions/libipt_REJECT.c index dd4ac629..56fc3460 100644 --- a/extensions/libipt_REJECT.c +++ b/extensions/libipt_REJECT.c @@ -160,7 +160,7 @@ static const struct reject_names_xlate reject_table_xlate[] = { }; static int REJECT_xlate(const struct xt_entry_target *target, - struct xt_buf *buf, int numeric) + struct xt_xlate *xl, int numeric) { const struct ipt_reject_info *reject = (const struct ipt_reject_info *)target->data; @@ -172,10 +172,10 @@ static int REJECT_xlate(const struct xt_entry_target *target, } if (reject->with == IPT_TCP_RESET) - xt_buf_add(buf, "reject with %s", + xt_xlate_add(xl, "reject with %s", reject_table_xlate[i].name); else - xt_buf_add(buf, "reject with icmp type %s", + xt_xlate_add(xl, "reject with icmp type %s", reject_table_xlate[i].name); return 1; |