The line break is added after printing the rule. --- src/meta.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/meta.c b/src/meta.c index 0a3df39..af5c3f9 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; -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html