aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-04 21:59:28 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-04 21:59:28 +0000
commitef476b2fdb5bc9734cbfaeefe1eaddb70f2f6b14 (patch)
treeea540a3625b241fb8d75cac3347817774b4de3e6
parent623400a211a531473fbd3b47471ac699e2b186db (diff)
downloadpfsense-packages-ef476b2fdb5bc9734cbfaeefe1eaddb70f2f6b14.tar.gz
pfsense-packages-ef476b2fdb5bc9734cbfaeefe1eaddb70f2f6b14.tar.bz2
pfsense-packages-ef476b2fdb5bc9734cbfaeefe1eaddb70f2f6b14.zip
Correctly handle multiple interfaces
Tested: Tue Oct 4 17:59:04 2005 Checking fxp1 for additional devices Tue Oct 4 17:59:04 2005 Checking fxp0 for additional devices
-rw-r--r--packages/ntop/ntop.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/ntop/ntop.xml b/packages/ntop/ntop.xml
index 9777a77a..5fcad02b 100644
--- a/packages/ntop/ntop.xml
+++ b/packages/ntop/ntop.xml
@@ -75,9 +75,9 @@
foreach($_POST['interface_array'] as $iface) {
$if = convert_friendly_interface_to_real_interface_name($iface);
if($if) {
- $ifaces_final .= " " . $if;
if($first == 1)
$ifaces_final .= ",";
+ $ifaces_final .= $if;
$first = 1;
}
}