From 661f5efc90267825b4bccfef4c069d6c340ef089 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Wed, 12 Feb 2014 13:47:43 +0100 Subject: meta: remove line break when printing priority The line break is added after printing the rule. --- src/meta.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/meta.c b/src/meta.c index 0a3df39f..af5c3f97 100644 --- a/src/meta.c +++ b/src/meta.c @@ -75,11 +75,11 @@ static void tchandle_type_print(const struct expr *expr) printf("none\n"); default: if (TC_H_MAJ(handle) == 0) - printf(":%04x\n", TC_H_MIN(handle)); + printf(":%04x", TC_H_MIN(handle)); else if (TC_H_MIN(handle) == 0) - printf("%04x:\n", TC_H_MAJ(handle) >> 16); + printf("%04x:", TC_H_MAJ(handle) >> 16); else { - printf("%04x:%04x\n", + printf("%04x:%04x", TC_H_MAJ(handle) >> 16, TC_H_MIN(handle)); } break; -- cgit v1.2.3