Skip to contentSkip to conversation

simple print newline

PATCH New Jamal Hadi Salim 1 participant 1 message Dec 22, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 simple print newline

attached.

cheers,
jamal

commit d7869e6167c3553e93e254940b0647032b40fed8

Author: Jamal Hadi Salim <[email protected]>
Date:   Sun Dec 22 07:46:28 2013 -0500

print new line at the end for aesthetics

tc/m_simple.c +1 -1
index 0224440..a8e1d6b 100644
@@ -188,9 +188,9 @@ static int print_simple(struct action_util *au, FILE * f, struct rtattr *arg)
 		if (tb[TCA_DEF_TM]) {
 			struct tcf_t *tm = RTA_DATA(tb[TCA_DEF_TM]);
 			print_tm(f, tm);
-			fprintf(f, "\n");
 		}
 	}
+	fprintf(f, "\n");
 
 	return 0;
 }