aboutsummaryrefslogtreecommitdiffstats
path: root/config/ntop2/ntop.xml
diff options
context:
space:
mode:
Diffstat (limited to 'config/ntop2/ntop.xml')
-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,