aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/darkstat/darkstat.xml4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/darkstat/darkstat.xml b/packages/darkstat/darkstat.xml
index 723128f7..75b570a1 100644
--- a/packages/darkstat/darkstat.xml
+++ b/packages/darkstat/darkstat.xml
@@ -53,9 +53,7 @@
foreach($_POST['interface_array'] as $iface) {
$if = convert_friendly_interface_to_real_interface_name($iface);
if($if) {
- if($first == 1)
- $ifaces_final .= ",";
- $ifaces_final .= $if;
+ $ifaces_final .= " -i " . $if;
$first = 1;
}
}