From: Florian Westphal Date: Mon, 27 Nov 2017 22:59:45 +0000 (+0100) Subject: ct: don't print newline if label bit cannot be mapped X-Git-Tag: v0.8.1~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9f39f8e6729457b88fd42156984a78c98fb84651;p=thirdparty%2Fnftables.git ct: don't print newline if label bit cannot be mapped Signed-off-by: Florian Westphal --- 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,