diff options
author | Florian Westphal <fw@strlen.de> | 2017-11-27 23:59:45 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2017-11-27 23:59:45 +0100 |
commit | 9f39f8e6729457b88fd42156984a78c98fb84651 (patch) | |
tree | 779604b93fa746e67d7bf1423cfd3afe3c6ed940 | |
parent | 39d453a15dd3e1a349edc5618861aad63991419a (diff) |
ct: don't print newline if label bit cannot be mapped
Signed-off-by: Florian Westphal <fw@strlen.de>
-rw-r--r-- | src/ct.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |