From: Li Yewang Date: Tue, 9 Sep 2008 01:06:47 +0000 (+0800) Subject: Fix the error of "ss -f inet -t" X-Git-Tag: v2.6.27~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f70d96a41bb6f825c842eff5effd708bc15df059;p=thirdparty%2Fiproute2.git 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 --- diff --git a/misc/ss.c b/misc/ss.c index 38eed29db..e06946b49 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<