[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180501193705.6044a561@xeon-e3>
Date: Tue, 1 May 2018 19:37:05 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Ido Schimmel <idosch@...lanox.com>
Cc: netdev@...r.kernel.org, dsahern@...il.com, mlxsw@...lanox.com
Subject: Re: [PATCH iproute2-master] iproute: Parse last nexthop in a
multipath route
On Tue, 1 May 2018 16:16:35 +0300
Ido Schimmel <idosch@...lanox.com> wrote:
> Continue parsing a multipath payload as long as another nexthop can fit
> in the payload.
>
> # ip route add 192.0.2.0/24 nexthop dev dummy0 nexthop dev dummy1
>
> Before:
> # ip route show 192.0.2.0/24
> 192.0.2.0/24
> nexthop dev dummy0 weight 1
>
> After:
> # ip route show 192.0.2.0/24
> 192.0.2.0/24
> nexthop dev dummy0 weight 1
> nexthop dev dummy1 weight 1
>
> Fixes: f48e14880a0e ("iproute: refactor multipath print")
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
Applied, thanks.
There really ought to be test cases for this.
Powered by blists - more mailing lists