diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/parser_bison.y | 2 | ||||
-rw-r--r-- | src/xt.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/parser_bison.y b/src/parser_bison.y index b1b67623..3c06ff48 100644 --- a/src/parser_bison.y +++ b/src/parser_bison.y @@ -2998,7 +2998,7 @@ stmt : verdict_stmt | xt_stmt close_scope_xt ; -xt_stmt : XT STRING STRING +xt_stmt : XT STRING string { $$ = NULL; xfree($2); @@ -116,7 +116,7 @@ void xt_stmt_xlate(const struct stmt *stmt, struct output_ctx *octx) xfree(entry); #endif if (!rc) - nft_print(octx, "xt %s %s", + nft_print(octx, "xt %s \"%s\"", typename[stmt->xt.type], stmt->xt.name); } |