iperf: fix --daemon option
authorRafał Miłecki <rafal@milecki.pl>
Sun, 7 Oct 2018 12:17:50 +0000 (14:17 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Sun, 7 Oct 2018 15:13:39 +0000 (17:13 +0200)
commit87cd118794cc9375260ea213838e80ad5295e83c
tree63e6c8d9f1089451b40f64acecd253f4360c8729
parent5815bb2e41389f484516cf62008c42a4e9ff8327
iperf: fix --daemon option

Support for -D got broken in the 2.0.11 release by the upstream commit
218d8c667944 ("first pass L2 mode w/UDP checks, v4 only"). After that
commit clients were still able to connect but no traffic was passed.
It was reported and is fixed now in the upstream git repository.

Backport two patches to fix this. The first one is just a requirement
for the later to apply. The second one is the real fix and it needed
only a small adjustment to apply without backporing the commit
10887b59c7e7 ("fix --txstart-time report messages").

Fixes: 457e6d5a27be ("iperf: bump to 2.0.12")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
package/network/utils/iperf/Makefile
package/network/utils/iperf/patches/0001-fix-latent-bug-in-signal-handling-per-POSIX-calling-.patch [new file with mode: 0644]
package/network/utils/iperf/patches/0002-cleanup-main-startup-fix-daemon-mode-per-redirecting.patch [new file with mode: 0644]