Thread (3 messages) flat view 3 messages, 1 author, 2016-08-28

[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
Subsystem: the rest · Maintainer: Linus Torvalds

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help