Re: [PATCH 10/12] Fix off-by-one in print of wrandom algo.

2007-10-12 Thread Stephen Hemminger
On Fri, 12 Oct 2007 10:56:45 +0200 Andreas Henriksson <[EMAIL PROTECTED]> wrote: > From: Norbert Buchmuller <[EMAIL PROTECTED]> > > The 'wrandom' multipath algo is recognised when adding the route, but > not resolved when it is printed (prints 'unknown'): > > ianus:~# ip ro add 1.2.3.4 mpath wra

[PATCH 10/12] Fix off-by-one in print of wrandom algo.

2007-10-12 Thread Andreas Henriksson
From: Norbert Buchmuller <[EMAIL PROTECTED]> The 'wrandom' multipath algo is recognised when adding the route, but not resolved when it is printed (prints 'unknown'): ianus:~# ip ro add 1.2.3.4 mpath wrandom nexthop dev ppp0 weight 1 nexthop dev ppp1 weight 2 ianus:~# ip ro get to 1.2.3.4 1.2.3.