From: vadimk Date: Thu, 16 Oct 2014 08:19:29 +0000 (+0300) Subject: ss: Remove checking SS_CLOSE state for packet and netlink X-Git-Tag: v3.18.0~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45a4770bc0;p=thirdparty%2Fiproute2.git ss: Remove checking SS_CLOSE state for packet and netlink I dont see a reason that packet and netlink states will be printed only if SS_CLOSE state is set in filter, in that case to print states of netlink or packet sockets it is needed to run: ss -A netlink state close instead of: ss -A netlink Signed-off-by: Vadim Kochan --- diff --git a/misc/ss.c b/misc/ss.c index 291d85f28..d45122404 100644 --- a/misc/ss.c +++ b/misc/ss.c @@ -2895,9 +2895,6 @@ static int packet_show(struct filter *f) int ino; unsigned long long sk; - if (!(f->states & (1<states & (1<