[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150720145609.77a0d85c@urahara>
Date: Mon, 20 Jul 2015 14:56:09 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Roopa Prabhu <roopa@...ulusnetworks.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next iproute2] support batching of ip route get
commands
On Wed, 15 Jul 2015 17:06:36 -0700
Roopa Prabhu <roopa@...ulusnetworks.com> wrote:
> From: Roopa Prabhu <roopa@...ulusnetworks.com>
>
> This patch replaces exits with returns in
> ip route get command handling. This allows batching
> of ip route get commands.
>
> $cat route_get_batch.txt
> route get 10.0.14.2
> route get 12.0.14.2
> route get 10.0.14.4
>
> $ip -batch route_get_batch.txt
> local 10.0.14.2 dev lo src 10.0.14.2
> cache <local>
> 12.0.14.2 via 192.168.0.2 dev eth0 src 192.168.0.15
> cache
> 10.0.14.4 dev dummy0 src 10.0.14.2
> cache
>
> Signed-off-by: Roopa Prabhu <roopa@...ulusnetworks.com>
Looks good and simple, applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists