statement: connlimit: remove extra whitespace in print function
Pablo Neira Ayuso
maintainerPATCH 1/1 statement: connlimit: remove extra whitespace in print function
Instead of:
ct count 2 accept
^^
simply print:
ct count 2 accept
Signed-off-by Pablo Neira Ayuso <[email protected]>
--- src/statement.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/statement.c +1 -1
@@ -201,7 +201,7 @@ struct stmt *meter_stmt_alloc(const struct location *loc)static void connlimit_stmt_print (const struct stmt *stmt,struct output_ctx *octx) { -nft_print (octx,"ct count %s%u " , +nft_print (octx,"ct count %s%u" , stmt->connlimit.flags ?"over " :"" , stmt->connlimit.count); }
Signature · 1 line
2.20.1