nexthop: Fix Deletion display

Actually display that deletions are happening
when monitoring nexthops.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
Donald Sharp 2020-05-30 08:16:37 -04:00 committed by Stephen Hemminger
parent 6facadcfb6
commit 2c78aba2fb

View File

@ -224,7 +224,7 @@ int print_nexthop(struct nlmsghdr *n, void *arg)
open_json_object(NULL);
if (n->nlmsg_type == RTM_DELROUTE)
if (n->nlmsg_type == RTM_DELNEXTHOP)
print_bool(PRINT_ANY, "deleted", "Deleted ", true);
if (tb[NHA_ID])