Re: [PATCH iproute2-master] iproute: Parse last nexthop in a multipath route

2018-05-01 Thread Stephen Hemminger
On Tue, 1 May 2018 16:16:35 +0300 Ido Schimmel 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 >

Re: [PATCH iproute2-master] iproute: Parse last nexthop in a multipath route

2018-05-01 Thread David Ahern
On 5/1/18 7:16 AM, Ido Schimmel 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

[PATCH iproute2-master] iproute: Parse last nexthop in a multipath route

2018-05-01 Thread Ido Schimmel
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