summaryrefslogtreecommitdiffstats
path: root/package/network/utils/iperf/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-10 12:35:43 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-10-10 12:35:43 +0000
commited33bd8c7c7271ace840f43ee9b08ad3500f6b12 (patch)
treeaa77acc293b8ba1a6dc7f99c9d5b65d3a64a8f30 /package/network/utils/iperf/patches
parent5806525653c83a8ecaa5edfa0ae563ec47b97587 (diff)
downloadmaster-31e0f0ae-ed33bd8c7c7271ace840f43ee9b08ad3500f6b12.tar.gz
master-31e0f0ae-ed33bd8c7c7271ace840f43ee9b08ad3500f6b12.tar.bz2
master-31e0f0ae-ed33bd8c7c7271ace840f43ee9b08ad3500f6b12.zip
iperf: move to trunk and add myself as maintainer
SVN-Revision: 33691
Diffstat (limited to 'package/network/utils/iperf/patches')
-rw-r--r--package/network/utils/iperf/patches/001-set-report-next-time-in-single-thread-mode.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/network/utils/iperf/patches/001-set-report-next-time-in-single-thread-mode.patch b/package/network/utils/iperf/patches/001-set-report-next-time-in-single-thread-mode.patch
new file mode 100644
index 0000000000..c61c75494a
--- /dev/null
+++ b/package/network/utils/iperf/patches/001-set-report-next-time-in-single-thread-mode.patch
@@ -0,0 +1,14 @@
+--- a/src/Reporter.c
++++ b/src/Reporter.c
+@@ -308,6 +308,11 @@ ReportHeader* InitReport( thread_Setting
+ #else
+ // set start time
+ gettimeofday( &(reporthdr->report.startTime), NULL );
++
++ // set next time
++ reporthdr->report.nextTime = reporthdr->report.startTime;
++ TimeAdd( reporthdr->report.nextTime, reporthdr->report.intervalTime );
++
+ /*
+ * Process the report in this thread
+ */