[hping3] * Tue Jul 17 2012 Paul Wouters <pwouters at redhat.com> - 0.0.20051105-18 - Fix typo in output (tramitt

Paul Wouters pwouters at fedoraproject.org
Tue Jul 17 22:50:53 UTC 2012


commit d9121dabf8f7b7873ca8d5c820df26a389768f49
Author: Paul Wouters <paul at libreswan.org>
Date:   Tue Jul 17 18:50:32 2012 -0400

    * Tue Jul 17 2012 Paul Wouters <pwouters at redhat.com> - 0.0.20051105-18
    - Fix typo in output (tramitting -> transmitting), rhbz#781325

 hping3-20051105-typo.patch |   12 ++++++++++++
 hping3.spec                |    7 ++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/hping3-20051105-typo.patch b/hping3-20051105-typo.patch
new file mode 100644
index 0000000..ebc3eb1
--- /dev/null
+++ b/hping3-20051105-typo.patch
@@ -0,0 +1,12 @@
+diff -Naur hping3-20051105-orig/statistics.c hping3-20051105/statistics.c
+--- hping3-20051105-orig/statistics.c	2004-04-09 19:38:56.000000000 -0400
++++ hping3-20051105/statistics.c	2012-07-17 18:47:06.306378289 -0400
+@@ -30,7 +30,7 @@
+ 			lossrate = 100;
+ 
+ 	fprintf(stderr, "\n--- %s hping statistic ---\n", targetname);
+-	fprintf(stderr, "%d packets tramitted, %d packets received, "
++	fprintf(stderr, "%d packets transmitted, %d packets received, "
+ 			"%d%% packet loss\n", sent_pkt, recv_pkt, lossrate);
+ 	if (out_of_sequence_pkt)
+ 		fprintf(stderr, "%d out of sequence packets received\n",
diff --git a/hping3.spec b/hping3.spec
index 4ef53ae..9687134 100644
--- a/hping3.spec
+++ b/hping3.spec
@@ -1,7 +1,7 @@
 %define  cvs 20051105
 Name:    hping3
 Version: 0.0.%{cvs}
-Release: 17%{?dist}
+Release: 18%{?dist}
 Summary: TCP/IP stack auditing and much more
 
 Group: Applications/Internet
@@ -13,6 +13,7 @@ Patch1: hping3-bytesex.patch
 Patch2: hping3-getifnamedebug.patch
 Patch3: hping3-cflags.patch
 Patch4: hping3-man.patch
+Patch5: hping3-20051105-typo.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: libpcap-devel, tcl-devel
 Obsoletes: hping2
@@ -33,6 +34,7 @@ Since version 3, hping implements scripting capabilties
 %patch2 -p1 -b .getifnamedebug
 %patch3 -p0 -b .cflags
 %patch4 -p0 -b .man
+%patch5 -p1
 
 %build
 %configure --force-libpcap
@@ -61,6 +63,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man8/*
 
 %changelog
+* Tue Jul 17 2012 Paul Wouters <pwouters at redhat.com> - 0.0.20051105-18
+- Fix typo in output (tramitting -> transmitting), rhbz#781325
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.0.20051105-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list