nexthop: Fix Deletion display
Subsystems (2)
PATCH 1/1 nexthop: Fix Deletion display
Actually display that deletions are happening
when monitoring nexthops.
Signed-off-by Donald Sharp <[email protected]>
--- ip/ipnexthop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
ip/ipnexthop.c +1 -1
@@ -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 ])
Signature · 1 line
2.26.2
Quoted 6 lines · Donald Sharp
Actually display that deletions are happening
when monitoring nexthops.Signed-off-by Donald Sharp <[email protected]>---
Acked-by Roopa Prabhu <[email protected]>
This can go to iproute2 net
Thanks Donald.
Quoted 19 lines
ip/ipnexthop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)ip/ipnexthop.c +1
-2@@ -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 ]) --2.26.2