From: Petr Sabata Date: Tue, 11 Dec 2012 06:42:52 +0000 (+0000) Subject: iproute2: ss - change default filter to include all socket types X-Git-Tag: v3.7.0~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7de7e5915a5492db964bc8ac48f17b1485e705d5;p=thirdparty%2Fiproute2.git iproute2: ss - change default filter to include all socket types Currently the default filter lists TCP sockets only which is rather confusing especially when the '-a/--all' flag is used. This patch changes the default to include all sockets, imitating netstat(8) behavior. Signed-off-by: Petr Ĺ abata Acked-by: David S. Miller --- diff --git a/misc/ss.c b/misc/ss.c index b45f5ba1b..b8cd60de2 100644 --- a/misc/ss.c +++ b/misc/ss.c @@ -105,7 +105,7 @@ struct filter }; struct filter default_filter = { - .dbs = (1<