]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
nexthop: Add space after blackhole
authorDavid Ahern <dsahern@gmail.com>
Wed, 4 Sep 2019 15:09:52 +0000 (08:09 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 4 Sep 2019 19:05:43 +0000 (12:05 -0700)
Add a space after 'blackhole' is missing to properly separate the
protocol when it is given.

Fixes: 63df8e8543b0 ("Add support for nexthop objects")
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/ipnexthop.c

index f35aab52b775c6a58395dfbb258930ef4096be2e..8356aca296de55e71d7999af53d1b6f0da9cf6a3 100644 (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 ",