aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-02-05 04:20:24 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-02-05 04:20:24 +0000
commit5be1746497fb73b8b438ee52d38d1f819f1e22ba (patch)
tree49596c1f66ec452fd5d54aeef8438121d055da4f /packages
parentdd24c5c96309a9f9a64f5743e99f34c5e4e3a874 (diff)
downloadpfsense-packages-5be1746497fb73b8b438ee52d38d1f819f1e22ba.tar.gz
pfsense-packages-5be1746497fb73b8b438ee52d38d1f819f1e22ba.tar.bz2
pfsense-packages-5be1746497fb73b8b438ee52d38d1f819f1e22ba.zip
Fix custom rule errors
Diffstat (limited to 'packages')
-rw-r--r--packages/bandwidthd/bandwidthd.inc14
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/bandwidthd/bandwidthd.inc b/packages/bandwidthd/bandwidthd.inc
index f82d62d9..174d4140 100644
--- a/packages/bandwidthd/bandwidthd.inc
+++ b/packages/bandwidthd/bandwidthd.inc
@@ -44,25 +44,25 @@ function bandwidthd_install_config() {
$meta_refresh = "meta_refresh $meta_refresh\n";
$graph = $config['installedpackages']['bandwidthd']['config'][0]['graph'];
if($graph)
- $graph = "graph $meta_refresh\n";
+ $graph = "graph true\n";
$filter_text = $config['installedpackages']['bandwidthd']['config'][0]['filter'];
if($filter_text)
- $filter_text = "filter $meta_refresh\n";
+ $filter_text = "filter $filter_text\n";
$recover_cdf = $config['installedpackages']['bandwidthd']['config'][0]['recovercdf'];
if($recover_cdf)
- $recover_cdf = "recover_cdf $meta_refresh\n";
+ $recover_cdf = "recover_cdf $recover_cdf\n";
$output_cdf = $config['installedpackages']['bandwidthd']['config'][0]['outputcdf'];
if($output_cdf)
- $output_cdf = "output_cdf $meta_refresh\n";
+ $output_cdf = "output_cdf $output_cdf\n";
$promiscuous = $config['installedpackages']['bandwidthd']['config'][0]['promiscuous'];
if($promiscuous)
- $promiscuous = "promiscuous $meta_refresh\n";
+ $promiscuous = "promiscuous true\n";
$graph_cutoff = $config['installedpackages']['bandwidthd']['config'][0]['graphcutoff'];
if($graph_cutoff)
- $graph_cutoff = "graph_cutoff $meta_refresh\n";
+ $graph_cutoff = "graph_cutoff $graph_cutoff\n";
$skip_intervals = $config['installedpackages']['bandwidthd']['config'][0]['skipintervals'];
if($skip_intervals)
- $skip_intervals = "skip_intervals $meta_refresh\n";
+ $skip_intervals = "skip_intervals $skip_intervals\n";
/* initialize to "" */
$subnets = "";