netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [iproute PATCH] iprule: Fix for incorrect space between dst and prefix
@ 2018-08-29 13:52 Phil Sutter
  2018-08-30 14:51 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Phil Sutter @ 2018-08-29 13:52 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev

This was added by accident when introducing JSON support.

Fixes: 0dd4ccc56c0e3 ("iprule: add json support")
Signed-off-by: Phil Sutter <phil@nwl.cc>
---
 ip/iprule.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ip/iprule.c b/ip/iprule.c
index 8b9421431c26a..744d6d88e3433 100644
--- a/ip/iprule.c
+++ b/ip/iprule.c
@@ -239,7 +239,7 @@ int print_rule(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg)
 
 		print_string(PRINT_FP, NULL, "to ", NULL);
 		print_color_string(PRINT_ANY, ifa_family_color(frh->family),
-				   "dst", "%s ", dst);
+				   "dst", "%s", dst);
 		if (frh->dst_len != host_len)
 			print_uint(PRINT_ANY, "dstlen", "/%u ", frh->dst_len);
 		else
-- 
2.18.0

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

* Re: [iproute PATCH] iprule: Fix for incorrect space between dst and prefix
  2018-08-29 13:52 [iproute PATCH] iprule: Fix for incorrect space between dst and prefix Phil Sutter
@ 2018-08-30 14:51 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2018-08-30 14:51 UTC (permalink / raw)
  To: Phil Sutter; +Cc: netdev

On Wed, 29 Aug 2018 15:52:57 +0200
Phil Sutter <phil@nwl.cc> wrote:

> This was added by accident when introducing JSON support.
> 
> Fixes: 0dd4ccc56c0e3 ("iprule: add json support")
> Signed-off-by: Phil Sutter <phil@nwl.cc>


Applied, thanks.

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

end of thread, other threads:[~2018-08-30 18:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-29 13:52 [iproute PATCH] iprule: Fix for incorrect space between dst and prefix Phil Sutter
2018-08-30 14:51 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).