From 9f39f8e6729457b88fd42156984a78c98fb84651 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Mon, 27 Nov 2017 23:59:45 +0100 Subject: ct: don't print newline if label bit cannot be mapped Signed-off-by: Florian Westphal --- src/ct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ct.c b/src/ct.c index 58b873e7..4633127d 100644 --- a/src/ct.c +++ b/src/ct.c @@ -147,7 +147,7 @@ static void ct_label_type_print(const struct expr *expr, return; } /* can happen when connlabel.conf is altered after rules were added */ - nft_print(octx, "%ld\n", (long)mpz_scan1(expr->value, 0)); + nft_print(octx, "%ld", (long)mpz_scan1(expr->value, 0)); } static struct error_record *ct_label_type_parse(const struct expr *sym, -- cgit v1.2.3