reverted config option

This commit is contained in:
Jordi Sanfeliu 2013-01-07 18:18:56 +01:00
parent 23d0d37087
commit 4b50d18650
2 changed files with 2 additions and 2 deletions

View File

@ -254,7 +254,7 @@ EOF
}
}
if(scalar(my @tfl = split(',', $config{traffacct}->{list})) && lc($config{traffacct}->{enabled}) eq "y") {
if(scalar(my @tfl = split(',', $config{traffacct}->{list})) && lc($config{graph_enable}->{traffacct}) eq "y") {
print(OUT " <optgroup label='Traffic Accounting'>\n");
print(OUT " <option value='traffacct.all'>All</option>\n");
for($n = 0; $n < scalar(@tfl); $n++) {

View File

@ -78,6 +78,7 @@ alert_rootfs_script = /path/to/script.sh
fail2ban = n
icecast = n
int = y
traffacct = n
</graph_enable>
@ -402,7 +403,6 @@ alert_rootfs_script = /path/to/script.sh
# TRAFFACCT graph
# -----------------------------------------------------------------------------
<traffacct>
enabled = n
max = 10
graphs_per_row = 2
enable_monthly_reports = n