nexthop: Add space after blackhole

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

Fixes: 63df8e8543 ("Add support for nexthop objects")
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
David Ahern 2019-09-04 08:09:52 -07:00 committed by Stephen Hemminger
parent 4fb98f0895
commit 2caa8012e8
1 changed files with 1 additions and 1 deletions

View File

@ -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 ",