All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH iproute2 1/1] tc: fix output when printing flower's TOS or TTL
@ 2018-03-10 13:31 Roman Mashak
  2018-03-10 17:11 ` Stephen Hemminger
  0 siblings, 1 reply; 3+ messages in thread
From: Roman Mashak @ 2018-03-10 13:31 UTC (permalink / raw)
  To: stephen; +Cc: netdev, kernel, jhs, jiri, xiyou.wangcong, Roman Mashak

Signed-off-by: Roman Mashak <mrv@mojatatu.com>
---
 tc/f_flower.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tc/f_flower.c b/tc/f_flower.c
index 5a4ec832bc19..5cf19139dcae 100644
--- a/tc/f_flower.c
+++ b/tc/f_flower.c
@@ -1131,7 +1131,7 @@ static void flower_print_ip_attr(char *name, struct rtattr *key_attr,
 	if (mask_attr)
 		sprintf(out + done, "/%x", rta_getattr_u8(mask_attr));
 
-	sprintf(namefrm, "\n  %s %%x", name);
+	sprintf(namefrm, "\n  %s %%s", name);
 	print_string(PRINT_ANY, name, namefrm, out);
 }
 
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-10 18:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-10 13:31 [PATCH iproute2 1/1] tc: fix output when printing flower's TOS or TTL Roman Mashak
2018-03-10 17:11 ` Stephen Hemminger
2018-03-10 18:56   ` Roman Mashak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.