[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170428162132.GC12806@unicorn.suse.cz>
Date: Fri, 28 Apr 2017 18:21:32 +0200
From: Michal Kubecek <mkubecek@...e.cz>
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH iproute2] routel: fix infinite loop in line parser
On Thu, Apr 27, 2017 at 04:46:47PM -0700, Stephen Hemminger wrote:
>
> Appled, but this really needs to be done better.
> Either as a simplified output of route command. See ip -br link
> Or ip route should have a json output option and use python/perl/xss
> to reformat.
Agreed, parsing the output of ip command is certainly not the right way.
I must admit that I had no idea this script exists until the bug report
landed on my table (and I had to use "rpm -qf" to learn that it's part
of iproute2 package). And I suspect I may not be the only one.
Michal Kubecek
Powered by blists - more mailing lists