From 7de7e5915a5492db964bc8ac48f17b1485e705d5 Mon Sep 17 00:00:00 2001 From: Petr Sabata Date: Tue, 11 Dec 2012 06:42:52 +0000 Subject: [PATCH] iproute2: ss - change default filter to include all socket types MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- misc/ss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/ss.c b/misc/ss.c index b45f5ba1..b8cd60de 100644 --- a/misc/ss.c +++ b/misc/ss.c @@ -105,7 +105,7 @@ struct filter }; struct filter default_filter = { - .dbs = (1<