From 2e352ff682d9eff356a583f72f5b4e0b4d5debd5 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 25 Mar 2021 13:06:02 +0100 Subject: rule: remove semicolon in flowtable offload opts->stmt_separator already prints the semicolon when needed. Signed-off-by: Pablo Neira Ayuso --- src/rule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rule.c') diff --git a/src/rule.c b/src/rule.c index f7f90509..96931800 100644 --- a/src/rule.c +++ b/src/rule.c @@ -2224,7 +2224,7 @@ static void flowtable_print_declaration(const struct flowtable *flowtable, } if (flowtable->flags & NFT_FLOWTABLE_HW_OFFLOAD) - nft_print(octx, "%s%sflags offload;%s", opts->tab, opts->tab, + nft_print(octx, "%s%sflags offload%s", opts->tab, opts->tab, opts->stmt_separator); if (flowtable->flags & NFT_FLOWTABLE_COUNTER) -- cgit v1.2.3