aboutsummaryrefslogtreecommitdiffstats
path: root/packages/ntop
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-24 23:12:28 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-24 23:12:28 +0000
commit97eb17f4cf4edf144f29fe858f61f32dd5aacda2 (patch)
tree3fd17d303c3767088d9bd60e3b543eb869feec96 /packages/ntop
parent85af33abb3883a9f2e392b369e63bf894fd7dcb0 (diff)
downloadpfsense-packages-97eb17f4cf4edf144f29fe858f61f32dd5aacda2.tar.gz
pfsense-packages-97eb17f4cf4edf144f29fe858f61f32dd5aacda2.tar.bz2
pfsense-packages-97eb17f4cf4edf144f29fe858f61f32dd5aacda2.zip
Use -i $interface -i $interface
Diffstat (limited to 'packages/ntop')
-rw-r--r--packages/ntop/ntop.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/ntop/ntop.xml b/packages/ntop/ntop.xml
index ef773663..01ef37ba 100644
--- a/packages/ntop/ntop.xml
+++ b/packages/ntop/ntop.xml
@@ -72,11 +72,11 @@
foreach($_POST['interface_array'] as $iface) {
$if = convert_friendly_interface_to_real_interface_name($iface);
if($if) {
- $ifaces_final .= $if . " ";
+ $ifaces_final .= " -i " . $if;
}
}
exec("/usr/local/bin/ntop --set-admin-password=" . $_POST['password'] . " &amp;", $ntopout);
- $start = "/usr/local/bin/ntop -i " . $ifaces_final . " -u root -d --ipv4 -M -x 8102 -X 8192 &amp;";
+ $start = "/usr/local/bin/ntop " . $ifaces_final . " -u root -d --ipv4 -M -x 8102 -X 8192 &amp;";
write_rcfile(array(
"file" => "ntop.sh",
"start" => $start,