aboutsummaryrefslogtreecommitdiffstats
path: root/config/ntop2
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-04-02 13:15:31 -0400
committerjim-p <jimp@pfsense.org>2012-04-02 13:15:31 -0400
commite71b22f89da57d9d760344572c020c3397f7a9db (patch)
tree8ae663b5087662025a89daa97a19daefe5c8f9ab /config/ntop2
parent949a8708959e8777c17e8d21fc20791af2616f94 (diff)
downloadpfsense-packages-e71b22f89da57d9d760344572c020c3397f7a9db.tar.gz
pfsense-packages-e71b22f89da57d9d760344572c020c3397f7a9db.tar.bz2
pfsense-packages-e71b22f89da57d9d760344572c020c3397f7a9db.zip
Better fix for ntop using ipv4/ipv6
Diffstat (limited to 'config/ntop2')
-rw-r--r--config/ntop2/ntop.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/ntop2/ntop.xml b/config/ntop2/ntop.xml
index a862e30f..0b7a536d 100644
--- a/config/ntop2/ntop.xml
+++ b/config/ntop2/ntop.xml
@@ -125,7 +125,7 @@
system("/bin/cp -Rp /usr/local/lib/X11/fonts/webfonts/ /usr/local/lib/X11/fonts/TTF/");
$first = 0;
$mergeifs = ($ntop_config['allowmerge'] == "on") ? "" : "-M";
- $alltraffic = ($ntop_config['alltraffic'] == "on") ? "" : "--ipv4";
+ $alltraffic = ($ntop_config['alltraffic'] == "on") ? "-4 -6" : "-4";
foreach($ntop_config['interface_array'] as $iface) {
$if = convert_friendly_interface_to_real_interface_name($iface);
if($if) {
@@ -135,7 +135,7 @@
$first = 1;
}
}
- $start = "/usr/local/bin/ntop -i {$ifaces_final} -u root -4 -6 -d {$alltraffic} {$mergeifs} -x 8102 -X 8192 &";
+ $start = "/usr/local/bin/ntop -i {$ifaces_final} -u root -d {$alltraffic} {$mergeifs} -x 8102 -X 8192 &";
write_rcfile(array(
"file" => "ntop.sh",
"start" => $start,