This commit is contained in:
parent
7491573dbb
commit
da857abe6d
32
iproute2-2.6.25-ss-inet6.diff
Normal file
32
iproute2-2.6.25-ss-inet6.diff
Normal file
@ -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<<r->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<<TCP_DB);
|
||||||
|
- if (!do_default)
|
||||||
|
- mask2 = (1<<UDP_DB)|(1<<RAW_DB);
|
||||||
|
+ mask2= current_filter.dbs;
|
||||||
|
} else if (preferred_family == AF_PACKET) {
|
||||||
|
mask2 = PACKET_DBM;
|
||||||
|
} else if (preferred_family == AF_UNIX) {
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 19 14:03:23 CET 2009 - ms@suse.de
|
||||||
|
|
||||||
|
- fixed ss utility to display inet6 addresses if requested
|
||||||
|
with -6 or -f inet6 (bnc #473156)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 27 11:47:57 CET 2009 - ms@suse.de
|
Tue Jan 27 11:47:57 CET 2009 - ms@suse.de
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ Group: Productivity/Networking/Routing
|
|||||||
Provides: iproute
|
Provides: iproute
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 2.6.25
|
Version: 2.6.25
|
||||||
Release: 43
|
Release: 45
|
||||||
Summary: Advanced Routing
|
Summary: Advanced Routing
|
||||||
Url: http://developer.osdl.org/dev/iproute2/
|
Url: http://developer.osdl.org/dev/iproute2/
|
||||||
Source0: %name-%version.tar.bz2
|
Source0: %name-%version.tar.bz2
|
||||||
@ -42,6 +42,7 @@ Patch9: %name-2.6.25-DCCP-redefine
|
|||||||
Patch10: %name-2.6.25-warnings.diff
|
Patch10: %name-2.6.25-warnings.diff
|
||||||
Patch11: %name-2.6.25-hw-address-size.diff
|
Patch11: %name-2.6.25-hw-address-size.diff
|
||||||
Patch12: %name-2.6.25-skbedit-memset.diff
|
Patch12: %name-2.6.25-skbedit-memset.diff
|
||||||
|
Patch13: %name-2.6.25-ss-inet6.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%package -n libnetlink-devel
|
%package -n libnetlink-devel
|
||||||
@ -83,6 +84,7 @@ Authors:
|
|||||||
%patch10
|
%patch10
|
||||||
%patch11 -p1
|
%patch11 -p1
|
||||||
%patch12
|
%patch12
|
||||||
|
%patch13
|
||||||
find . -name *.orig -print0 | xargs -r0 rm -v
|
find . -name *.orig -print0 | xargs -r0 rm -v
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -133,6 +135,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%_libdir/lib*
|
%_libdir/lib*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 19 2009 ms@suse.de
|
||||||
|
- fixed ss utility to display inet6 addresses if requested
|
||||||
|
with -6 or -f inet6 (bnc #473156)
|
||||||
* Tue Jan 27 2009 ms@suse.de
|
* Tue Jan 27 2009 ms@suse.de
|
||||||
- fixed a bug in which the memory for the tc_skbedit struct was
|
- fixed a bug in which the memory for the tc_skbedit struct was
|
||||||
being used uninitialized to 0. This patch corrects the issue
|
being used uninitialized to 0. This patch corrects the issue
|
||||||
|
Loading…
Reference in New Issue
Block a user