summaryrefslogtreecommitdiffstats
path: root/src/ct.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2019-04-05 15:36:48 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-04-05 15:48:36 +0200
commite07be57df3f5191d23b05c4fb06a94f3961beb13 (patch)
tree0aebc7101986247e04d0be735fca953a06f93101 /src/ct.c
parente18d8c2ac23ba173c773b5114b39dac04e5af8db (diff)
ct: use nft_print() instead of printf()
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/ct.c')
-rw-r--r--src/ct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ct.c b/src/ct.c
index ca31f498..e872857b 100644
--- a/src/ct.c
+++ b/src/ct.c
@@ -481,7 +481,7 @@ struct stmt *notrack_stmt_alloc(const struct location *loc)
static void flow_offload_stmt_print(const struct stmt *stmt,
struct output_ctx *octx)
{
- printf("flow add @%s", stmt->flow.table_name);
+ nft_print(octx, "flow add @%s", stmt->flow.table_name);
}
static const struct stmt_ops flow_offload_stmt_ops = {