[an error occurred while processing this directive]
|
|
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190904150952.17274-1-dsahern@kernel.org>
Date: Wed, 4 Sep 2019 08:09:52 -0700
From: David Ahern <dsahern@...nel.org>
To: stephen@...workplumber.org
Cc: netdev@...r.kernel.org, David Ahern <dsahern@...il.com>
Subject: [PATCH iproute2] nexthop: Add space after blackhole
From: David Ahern <dsahern@...il.com>
Add a space after 'blackhole' is missing to properly separate the
protocol when it is given.
Signed-off-by: David Ahern <dsahern@...il.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
Powered by blists - more mailing lists