diff options
author | Colin Smith <colin@pfsense.org> | 2005-03-06 17:57:28 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-03-06 17:57:28 +0000 |
commit | 31ef6ef02c255d593272f4bd30e1fb0f455f52de (patch) | |
tree | e34b6ed1038ab58b02fbac705aa6ce64f93cb0f2 | |
parent | 47ebae77a6c8164d98aef5be8d0cf45dfd419fa7 (diff) | |
download | pfsense-packages-31ef6ef02c255d593272f4bd30e1fb0f455f52de.tar.gz pfsense-packages-31ef6ef02c255d593272f4bd30e1fb0f455f52de.tar.bz2 pfsense-packages-31ef6ef02c255d593272f4bd30e1fb0f455f52de.zip |
Add temporary workaround for netio/iperf servers.
-rw-r--r-- | packages/iperf.xml | 1 | ||||
-rw-r--r-- | packages/iperfserver.xml | 1 | ||||
-rw-r--r-- | packages/netio.xml | 1 | ||||
-rw-r--r-- | packages/netioserver.xml | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/packages/iperf.xml b/packages/iperf.xml index 088799f5..f33c81f9 100644 --- a/packages/iperf.xml +++ b/packages/iperf.xml @@ -95,6 +95,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"; 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"; diff --git a/packages/netio.xml b/packages/netio.xml index e269928e..43cc4a58 100644 --- a/packages/netio.xml +++ b/packages/netio.xml @@ -39,6 +39,7 @@ </field> </fields> <custom_add_php_command> + mwexec("killall netio"); $netio_options = ""; if($_POST['port'] != "") $netio_options .= " -p {$_POST['port']}"; $netio_options .= $_POST['hostname']; diff --git a/packages/netioserver.xml b/packages/netioserver.xml index cd5712ba..611cbfa9 100644 --- a/packages/netioserver.xml +++ b/packages/netioserver.xml @@ -30,6 +30,7 @@ </field> </fields> <custom_add_php_command> + mwexec("killall netio"); if($_POST['port'] != "") $netioserver_options = " -p {$_POST['port']}"; system("/usr/local/bin/netio -s" . $netioserver_options); </custom_add_php_command> |