I confirm patch:

https://github.com/shemminger/iproute2/commit/38d209ecf2ae966b9b25de4acb60cdffb0e06ced

Fixes the issue.

Without the patch:

(c)inaddy@ctdb:~/work/sources/ubuntu/iproute2/misc$ sudo ss -tn state 
established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
ss: bison bellows (while parsing filter): "syntax error!" Sorry.
Usage: ss [ OPTIONS ]
       ss [ OPTIONS ] [ FILTER ]

Patch applied:

(c)inaddy@ctdb:~/work/sources/ubuntu/iproute2/misc$ sudo ./ss -tn state 
established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
Recv-Q           Send-Q                          Local Address:Port             
            Peer Address:Port 

Will prepare the SRUs.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1831775

Title:
  ss seems broken when using multiple filters in the same cmdline

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iproute2/+bug/1831775/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to