diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-10-10 12:35:43 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-10-10 12:35:43 +0000 |
commit | ed33bd8c7c7271ace840f43ee9b08ad3500f6b12 (patch) | |
tree | aa77acc293b8ba1a6dc7f99c9d5b65d3a64a8f30 /package/network/utils/iperf/patches | |
parent | 5806525653c83a8ecaa5edfa0ae563ec47b97587 (diff) | |
download | upstream-ed33bd8c7c7271ace840f43ee9b08ad3500f6b12.tar.gz upstream-ed33bd8c7c7271ace840f43ee9b08ad3500f6b12.tar.bz2 upstream-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.patch | 14 |
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 + */ |