summaryrefslogtreecommitdiffstats
path: root/src/statement.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-11-06 16:06:26 +0100
committerFlorian Westphal <fw@strlen.de>2018-11-12 17:41:58 +0100
commitc15c2869168d71d07aca0221e1b37f0c5da54547 (patch)
tree8869808e0c36ada3d9cb4fa67e5b609ac254598d /src/statement.c
parentf4e40e395af2b73cd72c5454e41fb879da8c5f61 (diff)
xt: pass octx to translate function
We can't use it when no translation is available as libxtables will use plain printf(), but when translation is available we can. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src/statement.c')
-rw-r--r--src/statement.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/statement.c b/src/statement.c
index 1eaaf585..07e17461 100644
--- a/src/statement.c
+++ b/src/statement.c
@@ -832,7 +832,7 @@ struct stmt *tproxy_stmt_alloc(const struct location *loc)
static void xt_stmt_print(const struct stmt *stmt, struct output_ctx *octx)
{
- xt_stmt_xlate(stmt);
+ xt_stmt_xlate(stmt, octx);
}
static void xt_stmt_destroy(struct stmt *stmt)