[iproute2 1/3] police: add extra space to improve police result printing
From: Jamal Hadi Salim <jhs@mojatatu.com>
Date: 2016-08-28 12:53:19
From: Roman Mashak <redacted> Signed-off-by: Roman Mashak <redacted> Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com> --- tc/m_police.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tc/m_police.c b/tc/m_police.c
index f0b179f..d7fa8f6 100644
--- a/tc/m_police.c
+++ b/tc/m_police.c@@ -322,7 +322,7 @@ int print_police(struct action_util *a, FILE *f, struct rtattr *arg) if (tb[TCA_POLICE_RESULT]) { __u32 action = rta_getattr_u32(tb[TCA_POLICE_RESULT]); - fprintf(f, "/%s", action_n2a(action)); + fprintf(f, "/%s ", action_n2a(action)); } else fprintf(f, " ");
--
1.9.1