summaryrefslogtreecommitdiffstats
path: root/src/meta.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2014-02-12 13:47:43 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2014-02-17 00:34:26 +0100
commit661f5efc90267825b4bccfef4c069d6c340ef089 (patch)
tree54fa4545ad7a745a550edaaaacde679277a11579 /src/meta.c
parent20162176b5def48a6203534313299e011a76b640 (diff)
meta: remove line break when printing priority
The line break is added after printing the rule.
Diffstat (limited to 'src/meta.c')
-rw-r--r--src/meta.c6
1 files changed, 3 insertions, 3 deletions
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;