- patch to netstat@i64
This commit is contained in:
parent
01b569cdd5
commit
98d766b986
11
net-tools-1.60-netstat_ulong.patch
Normal file
11
net-tools-1.60-netstat_ulong.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- net-tools-1.60/netstat.c.netstat_ulong 2004-11-11 14:28:44.000000000 +0100
|
||||
+++ net-tools-1.60/netstat.c 2004-11-11 14:31:14.099313000 +0100
|
||||
@@ -273,7 +273,7 @@
|
||||
strcpy(pn->name,name);
|
||||
}
|
||||
|
||||
-static const char *prg_cache_get(int inode)
|
||||
+static const char *prg_cache_get(unsigned long inode)
|
||||
{
|
||||
unsigned hi=PRG_HASHIT(inode);
|
||||
struct prg_node *pn;
|
@ -37,6 +37,7 @@ Patch23: net-tools-1.60-netmask.patch
|
||||
Patch24: net-tools-1.60-ulong.patch
|
||||
Patch25: net-tools-1.60-bcast.patch
|
||||
Patch26: net-tools-1.60-mii-tool-obsolete.patch
|
||||
Patch27: net-tools-1.60-netstat_ulong.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-root
|
||||
Requires(post,preun): chkconfig
|
||||
BuildRequires: gettext
|
||||
@ -73,6 +74,7 @@ ifconfig, netstat, route, and others.
|
||||
%patch24 -p1 -b .ulong
|
||||
%patch25 -p1 -b .bcast
|
||||
%patch26 -p1 -b .obsolete
|
||||
%patch27 -p1 -b .netstat_ulong
|
||||
|
||||
cp %SOURCE2 ./config.h
|
||||
cp %SOURCE3 ./config.make
|
||||
@ -166,6 +168,7 @@ exit 0
|
||||
%changelog
|
||||
* Thu Nov 11 2004 Radek Vokal <rvokal@redhat.com> 1.60-40
|
||||
- mii-tool(8) fixed, labeled as obsolete, added info (#138687)
|
||||
- netstat crashing on i64 fixed (#138804)
|
||||
|
||||
* Thu Nov 04 2004 Radek Vokal <rvokal@redhat.com> 1.60-39
|
||||
- IBM patch for netstat -s returning negative values on 64bit arch (#144064)
|
||||
|
Loading…
Reference in New Issue
Block a user