summaryrefslogtreecommitdiff
path: root/benchmarks/iperf/files/patch-compat-gettcpinfo.c
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-01-12 01:12:03 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-01-12 02:43:57 +0800
commit10f892b5e8265ab35873b0997c0e41956b89256f (patch)
treed76664b64cd686331cff810d2b106d86959f3e1f /benchmarks/iperf/files/patch-compat-gettcpinfo.c
parentarchivers/unshield: Update to 1.5.1 (diff)
benchmarks/iperf: Update to 2.1.6 (20211210)
Changes: https://sourceforge.net/p/iperf2/code/ci/master/tree/doc/RELEASE_NOTES https://sourceforge.net/p/iperf2/code/ci/master/log/
Diffstat (limited to 'benchmarks/iperf/files/patch-compat-gettcpinfo.c')
-rw-r--r--benchmarks/iperf/files/patch-compat-gettcpinfo.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/benchmarks/iperf/files/patch-compat-gettcpinfo.c b/benchmarks/iperf/files/patch-compat-gettcpinfo.c
new file mode 100644
index 000000000000..4bdfaa118032
--- /dev/null
+++ b/benchmarks/iperf/files/patch-compat-gettcpinfo.c
@@ -0,0 +1,9 @@
+--- compat/gettcpinfo.c.orig 2021-12-11 04:24:44 UTC
++++ compat/gettcpinfo.c
+@@ -97,6 +97,4 @@ inline void gettcpinfo (SOCKET sock, struct ReportStru
+ sample->tcpstats.rtt = 1;
+ sample->tcpstats.isValid = false;
+ };
+-#else
+-inline void gettcpinfo (int sock, struct ReportStruct *sample) {
+ #endif