- fixed typo in ping output. Since 11.4 sequence tag is icmp_req
instead of icmp_seq beause of that for example cacti ping script does not work anymore (bnc #696720) OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=22
This commit is contained in:
parent
c687806944
commit
0a8402914a
11
iputils-pingtypo.diff
Normal file
11
iputils-pingtypo.diff
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- ping.c 2011-05-31 10:02:27.076182828 +0200
|
||||||
|
+++ ping.c 2011-05-31 10:02:34.513776200 +0200
|
||||||
|
@@ -699,7 +699,7 @@
|
||||||
|
void pr_echo_reply(__u8 *_icp, int len)
|
||||||
|
{
|
||||||
|
struct icmphdr *icp = (struct icmphdr *)_icp;
|
||||||
|
- printf(" icmp_req=%u", ntohs(icp->un.echo.sequence));
|
||||||
|
+ printf(" icmp_seq=%u", ntohs(icp->un.echo.sequence));
|
||||||
|
}
|
||||||
|
|
||||||
|
int
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 31 10:06:29 CEST 2011 - ms@suse.de
|
||||||
|
|
||||||
|
- fixed typo in ping output. Since 11.4 sequence tag is icmp_req
|
||||||
|
instead of icmp_seq beause of that for example cacti ping script
|
||||||
|
does not work anymore (bnc #696720)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 19 09:55:18 UTC 2010 - coolo@novell.com
|
Fri Nov 19 09:55:18 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ BuildRequires: sysfsutils
|
|||||||
BuildRequires: libcap-devel
|
BuildRequires: libcap-devel
|
||||||
Summary: IPv4 and IPv6 Networking Utilities
|
Summary: IPv4 and IPv6 Networking Utilities
|
||||||
Version: s20101006
|
Version: s20101006
|
||||||
Release: 1
|
Release: 2
|
||||||
License: BSD3c ; GPLv2+
|
License: BSD3c ; GPLv2+
|
||||||
Group: Productivity/Networking/Other
|
Group: Productivity/Networking/Other
|
||||||
Url: http://www.skbuff.net/iputils
|
Url: http://www.skbuff.net/iputils
|
||||||
@ -39,6 +39,7 @@ Patch1: iputils-pingnamelookuponce.diff
|
|||||||
Patch2: iputils-traceroute6-stdint.diff
|
Patch2: iputils-traceroute6-stdint.diff
|
||||||
Patch3: iputils-ifenslave.diff
|
Patch3: iputils-ifenslave.diff
|
||||||
Patch6: iputils-s20101006-capabilities.diff
|
Patch6: iputils-s20101006-capabilities.diff
|
||||||
|
Patch7: iputils-pingtypo.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
PreReq: permissions
|
PreReq: permissions
|
||||||
|
|
||||||
@ -55,6 +56,7 @@ cp -a %SOURCE1 .
|
|||||||
#patch4
|
#patch4
|
||||||
#patch5
|
#patch5
|
||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
|
%patch7
|
||||||
mkdir linux
|
mkdir linux
|
||||||
touch linux/autoconf.h
|
touch linux/autoconf.h
|
||||||
|
|
||||||
@ -112,4 +114,3 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%attr(644,root,root) %_mandir/man8/*
|
%attr(644,root,root) %_mandir/man8/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user