From: Pablo Neira Ayuso Date: Fri, 5 Apr 2019 13:36:48 +0000 (+0200) Subject: ct: use nft_print() instead of printf() X-Git-Tag: v0.9.1~114 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e07be57df3f5191d23b05c4fb06a94f3961beb13;p=thirdparty%2Fnftables.git ct: use nft_print() instead of printf() Signed-off-by: Pablo Neira Ayuso --- 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 = {