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:
parent
4fb98f0895
commit
2caa8012e8
|
|
@ -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 ",
|
||||
|
|
|
|||
Loading…
Reference in New Issue