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:
parent
6facadcfb6
commit
2c78aba2fb
|
|
@ -224,7 +224,7 @@ int print_nexthop(struct nlmsghdr *n, void *arg)
|
||||||
|
|
||||||
open_json_object(NULL);
|
open_json_object(NULL);
|
||||||
|
|
||||||
if (n->nlmsg_type == RTM_DELROUTE)
|
if (n->nlmsg_type == RTM_DELNEXTHOP)
|
||||||
print_bool(PRINT_ANY, "deleted", "Deleted ", true);
|
print_bool(PRINT_ANY, "deleted", "Deleted ", true);
|
||||||
|
|
||||||
if (tb[NHA_ID])
|
if (tb[NHA_ID])
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue