Skip to contentSkip to conversation

nexthop: Add space after blackhole

PATCH In review David Ahern 2 participants 2 messages Sep 4, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nexthop: Add space after blackhole

From: David Ahern <[email protected]>

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

---
 ip/ipnexthop.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ip/ipnexthop.c +1 -1
index f35aab52b775..8356aca296de 100644
@@ -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 ",
Signature · 1 line
2.11.0