diff --git a/iproute2-2.6.25-ss-inet6.diff b/iproute2-2.6.25-ss-inet6.diff new file mode 100644 index 0000000..f71e842 --- /dev/null +++ b/iproute2-2.6.25-ss-inet6.diff @@ -0,0 +1,32 @@ +--- misc/ss.c 2009-02-19 13:55:43.000000000 +0100 ++++ misc/ss.c 2009-02-19 13:58:07.000000000 +0100 +@@ -1509,6 +1509,7 @@ + h = (struct nlmsghdr*)buf; + while (NLMSG_OK(h, status)) { + int err; ++ struct inet_diag_msg *r = NLMSG_DATA(h); + + if (/*h->nlmsg_pid != rth->local.nl_pid ||*/ + h->nlmsg_seq != 123456) +@@ -1527,6 +1528,10 @@ + return 0; + } + if (!dump_fp) { ++ if (!(f->families & (1<idiag_family))) { ++ h = NLMSG_NEXT(h, status); ++ continue; ++ } + err = tcp_show_sock(h, NULL); + if (err < 0) + return err; +@@ -2634,9 +2639,7 @@ + int mask2; + if (preferred_family == AF_INET || + preferred_family == AF_INET6) { +- mask2= (1<