[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJieiUgLrZbnzr-jjmhTwqkuSNu5G1s9OcJZkYEkTC9904gfYQ@mail.gmail.com>
Date: Sat, 30 May 2020 12:31:36 -0700
From: Roopa Prabhu <roopa@...ulusnetworks.com>
To: Donald Sharp <sharpd@...ulusnetworks.com>
Cc: netdev <netdev@...r.kernel.org>, David Ahern <dsahern@...il.com>,
Stephen Hemminger <stephen@...workplumber.org>
Subject: Re: [PATCH] nexthop: Fix Deletion display
On Sat, May 30, 2020 at 5:16 AM Donald Sharp <sharpd@...ulusnetworks.com> wrote:
>
> Actually display that deletions are happening
> when monitoring nexthops.
>
> Signed-off-by: Donald Sharp <sharpd@...ulusnetworks.com>
> ---
Acked-by: Roopa Prabhu <roopa@...ulusnetworks.com>
This can go to iproute2 net
Thanks Donald.
> ip/ipnexthop.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/ip/ipnexthop.c b/ip/ipnexthop.c
> index 99f89630..c33cef0c 100644
> --- a/ip/ipnexthop.c
> +++ b/ip/ipnexthop.c
> @@ -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
>
Powered by blists - more mailing lists