netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2] nexthop: Add space after blackhole
@ 2019-09-04 15:09 David Ahern
  2019-09-04 19:06 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: David Ahern @ 2019-09-04 15:09 UTC (permalink / raw)
  To: stephen; +Cc: netdev, David Ahern

From: David Ahern <dsahern@gmail.com>

Add a space after 'blackhole' is missing to properly separate the
protocol when it is given.

Signed-off-by: David Ahern <dsahern@gmail.com>
---
 ip/ipnexthop.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ip/ipnexthop.c b/ip/ipnexthop.c
index f35aab52b775..8356aca296de 100644
--- a/ip/ipnexthop.c
+++ b/ip/ipnexthop.c
@@ -242,7 +242,7 @@ int print_nexthop(struct nlmsghdr *n, void *arg)
 	}
 
 	if (tb[NHA_BLACKHOLE])
-		print_null(PRINT_ANY, "blackhole", "blackhole", NULL);
+		print_null(PRINT_ANY, "blackhole", "blackhole ", NULL);
 
 	if (nhm->nh_protocol != RTPROT_UNSPEC || show_details > 0) {
 		print_string(PRINT_ANY, "protocol", "proto %s ",
-- 
2.11.0


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

* Re: [PATCH iproute2] nexthop: Add space after blackhole
  2019-09-04 15:09 [PATCH iproute2] nexthop: Add space after blackhole David Ahern
@ 2019-09-04 19:06 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2019-09-04 19:06 UTC (permalink / raw)
  To: David Ahern; +Cc: netdev, David Ahern

On Wed,  4 Sep 2019 08:09:52 -0700
David Ahern <dsahern@kernel.org> wrote:

> From: David Ahern <dsahern@gmail.com>
> 
> Add a space after 'blackhole' is missing to properly separate the
> protocol when it is given.
> 
> Signed-off-by: David Ahern <dsahern@gmail.com>

Applied with Fixes tag

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

end of thread, other threads:[~2019-09-04 19:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-04 15:09 [PATCH iproute2] nexthop: Add space after blackhole David Ahern
2019-09-04 19:06 ` 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).