Re: [PATCH iproute2] ss: Fix support for device filter by index

2016-07-20 Thread Stephen Hemminger
On Fri, 15 Jul 2016 15:41:35 -0700 David Ahern wrote: > Support was recently added for device filters. The intent was to allow > the device to be specified by name or index, and using the if%u format > (dev == if5) or the simpler and more intuitive index alone (dev ==

[PATCH iproute2] ss: Fix support for device filter by index

2016-07-15 Thread David Ahern
Support was recently added for device filters. The intent was to allow the device to be specified by name or index, and using the if%u format (dev == if5) or the simpler and more intuitive index alone (dev == 5). The latter case is broken since the index is not saved to the filter after the

Re: [PATCH iproute2] ss: Fix support for device filter by index

2016-07-15 Thread David Ahern
On 7/15/16 12:53 PM, Stephen Hemminger wrote: On Fri, 15 Jul 2016 09:29:28 -0700 David Ahern wrote: Support was recently added for device filters. The intent was to allow the device to be specified by name or index, and using the if%u format (dev == if5) or the

Re: [PATCH iproute2] ss: Fix support for device filter by index

2016-07-15 Thread Stephen Hemminger
On Fri, 15 Jul 2016 09:29:28 -0700 David Ahern wrote: > Support was recently added for device filters. The intent was to allow > the device to be specified by name or index, and using the if%u format > (dev == if5) or the simpler and more intuitive index alone (dev ==

[PATCH iproute2] ss: Fix support for device filter by index

2016-07-15 Thread David Ahern
Support was recently added for device filters. The intent was to allow the device to be specified by name or index, and using the if%u format (dev == if5) or the simpler and more intuitive index alone (dev == 5). The latter case is broken since the index is not saved to the filter after the