summaryrefslogtreecommitdiffstats
path: root/src/rt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt.c')
-rw-r--r--src/rt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt.c b/src/rt.c
index 91be5a11..9ad9e398 100644
--- a/src/rt.c
+++ b/src/rt.c
@@ -82,7 +82,7 @@ static const struct rt_template rt_templates[] = {
static void rt_expr_print(const struct expr *expr, struct output_ctx *octx)
{
- printf("rt %s", rt_templates[expr->rt.key].token);
+ nft_print(octx, "rt %s", rt_templates[expr->rt.key].token);
}
static bool rt_expr_cmp(const struct expr *e1, const struct expr *e2)