]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ss: Fix wrong filter behaviour
authorVadim Kochan <vadim4j@gmail.com>
Thu, 30 Apr 2015 04:30:24 +0000 (07:30 +0300)
committerStephen Hemminger <shemming@brocade.com>
Mon, 4 May 2015 15:58:47 +0000 (08:58 -0700)
commit57ff5a1096cab63107d7e85bcd0d822614e33d73
treed69874c1f677984634f8bf7eae6975e861324c95
parentd937a74b6d7818d67b12f2439320bfddcdd35e58
ss: Fix wrong filter behaviour

Fixed applying family & socket type filters.
It was not possible to select UDP & UNIX sockets together.

Now selected families are ORed.

The problem was that filters were combined by AND.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Reported-By: Mihai Moldovan <ionic@ionic.de>
misc/ss.c