Re: [iproute PATCH 2/4] tc: util: bore up action_a2n()

2016-07-26 Thread Jamal Hadi Salim
On 16-07-23 07:28 AM, Phil Sutter wrote: It's a pitty this function is used nowhere, so let's polish it for use: * Loop over branch names, makes it clear that every former conditional was exactly identical. * Support 'pipe' branch name, too. * Make number parsing optional. Signed-off-by:

[iproute PATCH 2/4] tc: util: bore up action_a2n()

2016-07-23 Thread Phil Sutter
It's a pitty this function is used nowhere, so let's polish it for use: * Loop over branch names, makes it clear that every former conditional was exactly identical. * Support 'pipe' branch name, too. * Make number parsing optional. Signed-off-by: Phil Sutter --- tc/tc_util.c |