aboutsummaryrefslogtreecommitdiffstats
path: root/packages/iperfserver.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/iperfserver.xml')
-rw-r--r--packages/iperfserver.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/iperfserver.xml b/packages/iperfserver.xml
index c779d054..31eb6d27 100644
--- a/packages/iperfserver.xml
+++ b/packages/iperfserver.xml
@@ -80,6 +80,7 @@
</field>
</fields>
<custom_add_php_command>
+ mwexec("killall iperf");
$iperf_options = "";
if($_POST['protocol'] == "udp") $iperf_options .= " -u";
if($_POST['format'] == "bytes") $iperf_options .= " -f A";