fixes #756439 - ping Record Route report incorrect (same route)
This commit is contained in:
parent
10798d348d
commit
3327d9d13d
12
iputils-20101006-rr.patch
Normal file
12
iputils-20101006-rr.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up iputils-s20100418/ping.c.rr iputils-s20100418/ping.c
|
||||||
|
--- iputils-s20100418/ping.c.rr 2011-11-24 14:33:37.096831782 +0100
|
||||||
|
+++ iputils-s20100418/ping.c 2011-11-24 14:35:53.087308660 +0100
|
||||||
|
@@ -1085,7 +1085,7 @@ void pr_options(unsigned char * cp, int
|
||||||
|
if (i <= 0)
|
||||||
|
break;
|
||||||
|
if (i == old_rrlen
|
||||||
|
- && !strncmp((char *)cp, old_rr, i)
|
||||||
|
+ && !memcmp(cp, (unsigned char *)old_rr, i)
|
||||||
|
&& !(options & F_FLOOD)) {
|
||||||
|
printf("\t(same route)");
|
||||||
|
i = ((i + 3) / 4) * 4;
|
@ -1,7 +1,7 @@
|
|||||||
Summary: Network monitoring tools including ping
|
Summary: Network monitoring tools including ping
|
||||||
Name: iputils
|
Name: iputils
|
||||||
Version: 20101006
|
Version: 20101006
|
||||||
Release: 11%{?dist}
|
Release: 12%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://www.skbuff.net/iputils
|
URL: http://www.skbuff.net/iputils
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -30,6 +30,7 @@ Patch14: iputils-20101006-drop_caps.patch
|
|||||||
Patch15: iputils-20101006-unused.patch
|
Patch15: iputils-20101006-unused.patch
|
||||||
Patch16: iputils-20101006-man.patch
|
Patch16: iputils-20101006-man.patch
|
||||||
Patch17: iputils-20101006-eth.patch
|
Patch17: iputils-20101006-eth.patch
|
||||||
|
Patch18: iputils-20101006-rr.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: docbook-utils perl-SGMLSpm
|
BuildRequires: docbook-utils perl-SGMLSpm
|
||||||
@ -80,6 +81,7 @@ The iputils-sysvinit contains SysV initscritps support.
|
|||||||
%patch15 -p1 -b .unused
|
%patch15 -p1 -b .unused
|
||||||
%patch16 -p1 -b .man
|
%patch16 -p1 -b .man
|
||||||
%patch17 -p1 -b .eth
|
%patch17 -p1 -b .eth
|
||||||
|
%patch18 -p1 -b .rr
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch s390 s390x
|
%ifarch s390 s390x
|
||||||
@ -184,6 +186,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_sysconfdir}/rc.d/init.d/rdisc
|
%{_sysconfdir}/rc.d/init.d/rdisc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 24 2011 Jiri Skala <jskala@redhat.com> - 20101006-12
|
||||||
|
- fixes #756439 - ping Record Route report incorrect (same route)
|
||||||
|
|
||||||
* Thu Nov 10 2011 Jiri Skala <jskala@redhat.com> - 20101006-11
|
* Thu Nov 10 2011 Jiri Skala <jskala@redhat.com> - 20101006-11
|
||||||
- fixes #752397 - arping uses eth0 as default interface
|
- fixes #752397 - arping uses eth0 as default interface
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user