From f70d96a41bb6f825c842eff5effd708bc15df059 Mon Sep 17 00:00:00 2001 From: Li Yewang Date: Tue, 9 Sep 2008 09:06:47 +0800 Subject: [PATCH] Fix the error of "ss -f inet -t" when using the "ss -f inet -t" command to show the tcp socket information of inet domain, we get the error message: "ss: no socket tables to show with such filter." This patch can fix this bug. Signed-off-by: Li Yewang Signed-off-by: Stephen Hemminger --- misc/ss.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/misc/ss.c b/misc/ss.c index 38eed29..e06946b 100644 --- a/misc/ss.c +++ b/misc/ss.c @@ -2622,9 +2622,7 @@ int main(int argc, char *argv[]) int mask2; if (preferred_family == AF_INET || preferred_family == AF_INET6) { - mask2= (1<