Re: [PATCH] IPROUTE2: Fix bug in display of ipv6 cloned/cached routes

2007-07-13 Thread Patrick McHardy
Sridhar Samudrala wrote: > I found an issue with my original patch. If cache/cloned is > specified, it dumps the cloned routes irrespective of the table > specified. I think this is a better fix and also should address > the case you were mentioning above. Your patch looks good, thanks. - To un

Re: [PATCH] IPROUTE2: Fix bug in display of ipv6 cloned/cached routes

2007-07-12 Thread Sridhar Samudrala
On Wed, 2007-07-11 at 20:46 +0200, Patrick McHardy wrote: > Sridhar Samudrala wrote: > > This patch fixes a bug in the 'ip' command to display > > IPv6 cloned routes. > > ip -6 route ls cache > > returns empty even when there are cloned routes because of > > of a missing else in print_route() ro

Re: [PATCH] IPROUTE2: Fix bug in display of ipv6 cloned/cached routes

2007-07-11 Thread Patrick McHardy
Sridhar Samudrala wrote: > This patch fixes a bug in the 'ip' command to display > IPv6 cloned routes. > ip -6 route ls cache > returns empty even when there are cloned routes because of > of a missing else in print_route() routine. Looks good. The ip6_multiple_tables case seems to be missing

[PATCH] IPROUTE2: Fix bug in display of ipv6 cloned/cached routes

2007-07-11 Thread Sridhar Samudrala
This patch fixes a bug in the 'ip' command to display IPv6 cloned routes. ip -6 route ls cache returns empty even when there are cloned routes because of of a missing else in print_route() routine. Thanks Sridhar Signed-off-by: Sridhar Samudrala <[EMAIL PROTECTED]> diff --git a/ip/iproute