| 1 |
Description: spelling errors in binary (lintian) |
| 2 |
fix spelling errors / typos |
| 3 |
Author: Roberto Lumbreras |
| 4 |
|
| 5 |
Index: iperf-2.2.1+dfsg/src/Client.cpp |
| 6 |
=================================================================== |
| 7 |
--- iperf-2.2.1+dfsg.orig/src/Client.cpp 2024-12-27 14:14:44.027943841 +0100 |
| 8 |
+++ iperf-2.2.1+dfsg/src/Client.cpp 2024-12-27 14:14:44.027943841 +0100 |
| 9 |
@@ -1112,7 +1112,7 @@ |
| 10 |
reportstruct->sentTime = reportstruct->packetTime; |
| 11 |
reportstruct->packetLen = myWriten(mySocket, mSettings->mBuf, writelen, &reportstruct->writecnt); |
| 12 |
if (reportstruct->packetLen <= 0) { |
| 13 |
- WARN_errno((reportstruct->packetLen < 0), "event writen()"); |
| 14 |
+ WARN_errno((reportstruct->packetLen < 0), "event written()"); |
| 15 |
if (reportstruct->packetLen == 0) { |
| 16 |
peerclose = true; |
| 17 |
} |
| 18 |
@@ -1219,7 +1219,7 @@ |
| 19 |
} |
| 20 |
write_offset += n; |
| 21 |
if ((write_offset < writelen) && InProgress()) { |
| 22 |
- WARN_errno(1, "tcp bounceback writen incomplete"); |
| 23 |
+ WARN_errno(1, "tcp bounceback written incomplete"); |
| 24 |
PostNullEvent(false,false); |
| 25 |
goto RETRY_WRITE; |
| 26 |
} |
| 27 |
Index: iperf-2.2.1+dfsg/src/socket_io.c |
| 28 |
=================================================================== |
| 29 |
--- iperf-2.2.1+dfsg.orig/src/socket_io.c 2024-12-27 14:14:44.027943841 +0100 |
| 30 |
+++ iperf-2.2.1+dfsg/src/socket_io.c 2024-12-27 14:14:44.027943841 +0100 |
| 31 |
@@ -211,7 +211,7 @@ |
| 32 |
// check for a fatal error vs an error that should retry |
| 33 |
if ((errno != EINTR) && (errno != EAGAIN) && (errno != EWOULDBLOCK)) { |
| 34 |
nwritten = inLen - nleft; |
| 35 |
- fprintf(stdout, "FAIL: writen errno = %d (bytes=%d)\n", errno, nwritten); |
| 36 |
+ fprintf(stdout, "FAIL: written errno = %d (bytes=%d)\n", errno, nwritten); |
| 37 |
// sInterupted = 1; |
| 38 |
goto DONE; |
| 39 |
} |
| 40 |
Index: iperf-2.2.1+dfsg/man/iperf.1 |
| 41 |
=================================================================== |
| 42 |
--- iperf-2.2.1+dfsg.orig/man/iperf.1 2024-12-27 14:14:44.027943841 +0100 |
| 43 |
+++ iperf-2.2.1+dfsg/man/iperf.1 2024-12-27 14:14:44.027943841 +0100 |
| 44 |
@@ -156,7 +156,7 @@ |
| 45 |
Set the socket option of TCP_WINDOW_CLAMP, units is bytes. |
| 46 |
.TP |
| 47 |
.BR " \-\-test\-exchange\-timeout " \fI<value>\fR |
| 48 |
-Set the maximum wait time for a test excahnge in seconds. Defaults to 60 seconds if not set. A value of zero will disable the timeout. |
| 49 |
+Set the maximum wait time for a test exchange in seconds. Defaults to 60 seconds if not set. A value of zero will disable the timeout. |
| 50 |
.TP |
| 51 |
.BR \-t ", " \-\-time " \fIn\fR" |
| 52 |
time in seconds to listen for new traffic connections and/or receive traffic (defaults to infinite) |
| 53 |
@@ -187,13 +187,13 @@ |
| 54 |
Enable IPv6 reception by setting the domain and socket to AF_INET6 (Can receive on both IPv4 and IPv6) |
| 55 |
.TP |
| 56 |
.BR " \-\-tcp\-cca " |
| 57 |
-Set the congestion control algorithm to be used for TCP connections \- will overide any client side settings (same as \-\-tcp\-congestion) |
| 58 |
+Set the congestion control algorithm to be used for TCP connections \- will override any client side settings (same as \-\-tcp\-congestion) |
| 59 |
.TP |
| 60 |
.BR " \-\-working\-load " |
| 61 |
Enable support for TCP working loads on UDP traffic streams |
| 62 |
.TP |
| 63 |
.BR " \-\-working\-load\-cca " |
| 64 |
-Set the congestion control algorithm to be used for TCP working loads \- will overide any client side settings |
| 65 |
+Set the congestion control algorithm to be used for TCP working loads \- will override any client side settings |
| 66 |
.SH "CLIENT SPECIFIC OPTIONS" |
| 67 |
.TP |
| 68 |
.BR \-b ", " \-\-bandwidth " \fIn\fR[kmgKMG][,\fIn\fR[kmgKMG]] | \fIn\fR\fR[kmgKMG]pps" |
| 69 |
@@ -1020,7 +1020,7 @@ |
| 70 |
.P |
| 71 |
.B Unsynchronized clock detections with \-\-bounceback and \-\-trip\-times (as of March 19, 2023): |
| 72 |
Iperf 2 can detect when the clocks have synchronization errors larger than the bounceback RTT. This is done via the client's send timestamp (clock A), |
| 73 |
-the server's recieve timestamp (clock B) and the client's final receive timestamp (clock A.) The check, done on each bounceback, is |
| 74 |
+the server's receive timestamp (clock B) and the client's final receive timestamp (clock A.) The check, done on each bounceback, is |
| 75 |
write(A) < read(B) < read(A). This is supported in bounceback tests with |
| 76 |
a slight adjustment: clock write(A) < clock read(B) < clock read(A) \- (clock write(B) \- clock read(B)). All the |
| 77 |
timestamps are sampled on the initial write or read (not the completion of.) |
| 78 |
Index: iperf-2.2.1+dfsg/src/Server.cpp |
| 79 |
=================================================================== |
| 80 |
--- iperf-2.2.1+dfsg.orig/src/Server.cpp 2024-12-27 14:14:44.027943841 +0100 |
| 81 |
+++ iperf-2.2.1+dfsg/src/Server.cpp 2024-12-27 14:18:06.687179749 +0100 |
| 82 |
@@ -406,7 +406,7 @@ |
| 83 |
if (n < 0) { |
| 84 |
if (FATALTCPWRITERR(errno)) { |
| 85 |
reportstruct->err_readwrite=WriteErrFatal; |
| 86 |
- FAIL_errno(1, "tcp bounceback writen", mSettings); |
| 87 |
+ FAIL_errno(1, "tcp bounceback written", mSettings); |
| 88 |
peerclose = true; |
| 89 |
break; |
| 90 |
} else { |
| 91 |
@@ -416,7 +416,7 @@ |
| 92 |
} |
| 93 |
write_offset += n; |
| 94 |
if (write_offset < writelen) { |
| 95 |
- WARN_errno(1, "tcp bounceback writen incomplete"); |
| 96 |
+ WARN_errno(1, "tcp bounceback written incomplete"); |
| 97 |
PostNullEvent(); |
| 98 |
continue; |
| 99 |
} |
| 100 |
@@ -792,7 +792,7 @@ |
| 101 |
} |
| 102 |
} |
| 103 |
} else if (ctrunc_warn_enable && mSettings->mTransferIDStr) { |
| 104 |
- fprintf(stderr, "%sWARN: recvmsg MSG_CTRUNC occured\n", mSettings->mTransferIDStr); |
| 105 |
+ fprintf(stderr, "%sWARN: recvmsg MSG_CTRUNC occurred\n", mSettings->mTransferIDStr); |
| 106 |
ctrunc_warn_enable = false; |
| 107 |
} |
| 108 |
} |