make sctp quiet on systems without sctp (#1063906)
This commit is contained in:
parent
8f9799d946
commit
7d106d3ca7
12
net-tools-sctp-quiet.patch
Normal file
12
net-tools-sctp-quiet.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up net-tools-1.60/netstat.c.sctp-quiet net-tools-1.60/netstat.c
|
||||
--- net-tools-1.60/netstat.c.sctp-quiet 2008-01-14 13:49:43.000000000 +0100
|
||||
+++ net-tools-1.60/netstat.c 2008-01-14 13:49:43.000000000 +0100
|
||||
@@ -2308,7 +2308,7 @@ int main
|
||||
|
||||
if ((flag_inet || flag_inet6 || flag_sta) &&
|
||||
!(flag_tcp || flag_sctp || flag_udp || flag_udplite || flag_raw))
|
||||
- flag_tcp = flag_sctp = flag_udp = flag_udplite = flag_raw = 1;
|
||||
+ flag_tcp = flag_udp = flag_udplite = flag_raw = 1;
|
||||
|
||||
if ((flag_tcp || flag_sctp || flag_udp || flag_udplite || flag_raw || flag_igmp) &&
|
||||
!(flag_inet || flag_inet6))
|
@ -3,7 +3,7 @@
|
||||
Summary: Basic networking tools
|
||||
Name: net-tools
|
||||
Version: 2.0
|
||||
Release: 0.19.%{checkout}%{?dist}
|
||||
Release: 0.20.%{checkout}%{?dist}
|
||||
License: GPLv2+
|
||||
Group: System Environment/Base
|
||||
URL: http://sourceforge.net/projects/net-tools/
|
||||
@ -53,6 +53,9 @@ Patch10: net-tools-netstat-probe.patch
|
||||
# use all interfaces instead of default (#1003875)
|
||||
Patch20: ether-wake-interfaces.patch
|
||||
|
||||
# make sctp quiet on systems without sctp (#1063906)
|
||||
Patch21: net-tools-sctp-quiet.patch
|
||||
|
||||
BuildRequires: gettext, libselinux
|
||||
BuildRequires: libselinux-devel
|
||||
BuildRequires: systemd-units
|
||||
@ -86,6 +89,7 @@ cp %SOURCE7 ./man/en_US
|
||||
cp %SOURCE8 ./man/en_US
|
||||
|
||||
%patch20 -p1 -b .interfaces
|
||||
%patch21 -p1 -b .sctp-quiet
|
||||
|
||||
touch ./config.h
|
||||
|
||||
@ -162,6 +166,9 @@ install -m 644 %{SOURCE9} %{buildroot}%{_unitdir}
|
||||
%attr(0644,root,root) %{_unitdir}/arp-ethers.service
|
||||
|
||||
%changelog
|
||||
* Tue Feb 11 2014 Jaromír Končický <jkoncick@redhat.com> - 2.0-0.20.20131119git
|
||||
- make sctp quiet on systems without sctp (#1063906)
|
||||
|
||||
* Fri Dec 20 2013 Jiri Popelka <jpopelka@redhat.com> - 2.0-0.19.20131119git
|
||||
- move ifconfig and route back to sbin (#1045445)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user