[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110603205202.GN27166@one.firstfloor.org>
Date: Fri, 3 Jun 2011 22:52:02 +0200
From: Andi Kleen <andi@...stfloor.org>
To: David Miller <davem@...emloft.net>
Cc: andi@...stfloor.org, shemminger@...ux-foundation.org,
netdev@...r.kernel.org
Subject: Re: [PATCH] iproute: Ignore all output fields of ip route get for route add
> There are no guarentees that what the tool outputs for routes is
> suitable for creating routes.
>
> People have already put vpnc script fixes into Fedora and similar
> already.
>
> iproute2 is not where the hacks belong.
Hmmm, so you expect every user to maintain the sed line from hell?
Does not sound very user friendly to me.
An alternative would be to add a option to ip route get that disables
printing any options that cannot be used for input.
Would that be more acceptable?
-Andi
--
ak@...ux.intel.com -- Speaking for myself only.
--
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