From 10f892b5e8265ab35873b0997c0e41956b89256f Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Wed, 12 Jan 2022 01:12:03 +0800 Subject: 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/ --- benchmarks/iperf/files/patch-compat-gettcpinfo.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 benchmarks/iperf/files/patch-compat-gettcpinfo.c (limited to 'benchmarks/iperf/files/patch-compat-gettcpinfo.c') 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 -- cgit v1.2.3