- fix -I option for nestat, works as -I=eth0 again.
This commit is contained in:
parent
bfb9be3ca3
commit
57e1edd1d3
10
net-tools-1.60-netstat-I-fix.patch
Normal file
10
net-tools-1.60-netstat-I-fix.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- net-tools-1.60/netstat.c.old 2006-10-02 12:03:49.000000000 +0200
|
||||||
|
+++ net-tools-1.60/netstat.c 2006-10-02 12:02:12.000000000 +0200
|
||||||
|
@@ -2233,6 +2233,7 @@ int main
|
||||||
|
break;
|
||||||
|
case 'I':
|
||||||
|
if (optarg && strcmp(optarg, "(null)"))
|
||||||
|
+ if (optarg[0] == '=') optarg++;
|
||||||
|
flag_int_name = strdup(optarg);
|
||||||
|
flag_int++;
|
||||||
|
break;
|
@ -3,7 +3,7 @@
|
|||||||
Summary: Basic networking tools.
|
Summary: Basic networking tools.
|
||||||
Name: net-tools
|
Name: net-tools
|
||||||
Version: 1.60
|
Version: 1.60
|
||||||
Release: 73
|
Release: 74%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Source0: http://www.tazenda.demon.co.uk/phil/net-tools/net-tools-%{version}.tar.bz2
|
Source0: http://www.tazenda.demon.co.uk/phil/net-tools/net-tools-%{version}.tar.bz2
|
||||||
@ -68,6 +68,7 @@ Patch53: net-tools-1.60-arp_man.patch
|
|||||||
Patch54: net-tools-1.60-ifconfig-long-iface-crasher.patch
|
Patch54: net-tools-1.60-ifconfig-long-iface-crasher.patch
|
||||||
Patch55: net-tools-1.60-netdevice.patch
|
Patch55: net-tools-1.60-netdevice.patch
|
||||||
Patch56: net-tools-1.60-skip.patch
|
Patch56: net-tools-1.60-skip.patch
|
||||||
|
Patch57: net-tools-1.60-netstat-I-fix.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
BuildRoot: %{_tmppath}/%{name}-root
|
||||||
Requires(post,preun): chkconfig
|
Requires(post,preun): chkconfig
|
||||||
@ -133,6 +134,7 @@ ifconfig, netstat, route, and others.
|
|||||||
%patch54 -p1 -b .long_iface
|
%patch54 -p1 -b .long_iface
|
||||||
%patch55 -p1 -b .netdevice
|
%patch55 -p1 -b .netdevice
|
||||||
%patch56 -p1 -b .skip
|
%patch56 -p1 -b .skip
|
||||||
|
%patch57 -p1
|
||||||
|
|
||||||
cp %SOURCE2 ./config.h
|
cp %SOURCE2 ./config.h
|
||||||
cp %SOURCE3 ./config.make
|
cp %SOURCE3 ./config.make
|
||||||
@ -244,6 +246,10 @@ exit 0
|
|||||||
%{_sysconfdir}/rc.d/init.d/netplugd
|
%{_sysconfdir}/rc.d/init.d/netplugd
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 2 2006 Radek Vokal <rvokal@redhat.com> - 1.60-74
|
||||||
|
- fix -I option for nestat, works as -I=eth0 again.
|
||||||
|
- add dist tag
|
||||||
|
|
||||||
* Mon Aug 7 2006 Radek Vokal <rvokal@redhat.com> - 1.60-73
|
* Mon Aug 7 2006 Radek Vokal <rvokal@redhat.com> - 1.60-73
|
||||||
- directory entries . and .. should be skipped
|
- directory entries . and .. should be skipped
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user