rpms/iputils/devel iputils-flood.patch, NONE, 1.1 iputils.spec, 1.24, 1.25

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Sep 26 11:32:35 UTC 2005


Author: rvokal

Update of /cvs/dist/rpms/iputils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv13010

Modified Files:
	iputils.spec 
Added Files:
	iputils-flood.patch 
Log Message:
- fixed ping -f, flooding works again (#134859,#169141)

iputils-flood.patch:
 ping.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE iputils-flood.patch ---
--- iputils/ping.c.flood	2005-09-26 09:26:49.000000000 +0200
+++ iputils/ping.c	2005-09-26 13:07:39.000000000 +0200
@@ -614,7 +608,7 @@
 	icp->type = ICMP_ECHO;
 	icp->code = 0;
 	icp->checksum = 0;
-	icp->un.echo.sequence = htons(ntransmitted);
+	icp->un.echo.sequence = htons(ntransmitted+1);
 	icp->un.echo.id = ident;			/* ID */
 
 	CLR((ntransmitted+1) % mx_dup_ck);


Index: iputils.spec
===================================================================
RCS file: /cvs/dist/rpms/iputils/devel/iputils.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- iputils.spec	8 Sep 2005 09:19:28 -0000	1.24
+++ iputils.spec	26 Sep 2005 11:32:19 -0000	1.25
@@ -1,7 +1,7 @@
 Summary: Network monitoring tools including ping.
 Name: iputils
 Version: 20020927
-Release: 26
+Release: 27
 License: BSD
 Group: System Environment/Daemons
 Source0: http://www.tux.org/pub/net/ip-routing/%{name}-ss020927.tar.gz
@@ -25,6 +25,7 @@
 Patch14: iputils-arping_buf_overflow.patch
 Patch15: iputils-20020927-12-arping.patch
 Patch16: iputils-getaddrinfo.patch
+Patch17: iputils-flood.patch
 Prefix: %{_prefix}
 BuildRoot: %{_tmppath}/%{name}-root
 BuildPreReq: docbook-utils perl-SGMLSpm
@@ -58,6 +59,7 @@
 %patch14 -p1 -b .buf_overflow
 %patch15 -p1 -b .timeout
 %patch16 -p1 -b .getaddrinfo
+%patch17 -p1 -b .flood
 
 %build
 %ifarch s390 s390x
@@ -154,6 +156,9 @@
 %config(noreplace) %{_sysconfdir}/rc.d/init.d/rdisc
 
 %changelog
+* Mon Sep 26 2005 Radek Vokal <rvokal at redhat.com> 20020927-27
+- fixed ping -f, flooding works again (#134859,#169141)
+
 * Thu Sep 08 2005 Radek Vokal <rvokal at redhat.com> 20020927-26
 - tracepath6 and tracepath fix, use getaddrinfo instead of gethostbyname(2) 
   (#100778,#167735)




More information about the fedora-cvs-commits mailing list