aboutsummaryrefslogtreecommitdiffstats
path: root/config/bandwidthd/bandwidthd.inc
diff options
context:
space:
mode:
authorJim P <jim@pingle.org>2012-10-02 05:15:10 -0700
committerJim P <jim@pingle.org>2012-10-02 05:15:10 -0700
commit0edf4e67178a769a1bb784401aa2bcf7b7c2c109 (patch)
treec493e4046796430884f8b20bea46a2df563f5074 /config/bandwidthd/bandwidthd.inc
parent7ce86e7209743c52cfb7bf1813aa9ba092bed339 (diff)
parentedef29a6f336a316d84b396938d84328c22f545b (diff)
downloadpfsense-packages-0edf4e67178a769a1bb784401aa2bcf7b7c2c109.tar.gz
pfsense-packages-0edf4e67178a769a1bb784401aa2bcf7b7c2c109.tar.bz2
pfsense-packages-0edf4e67178a769a1bb784401aa2bcf7b7c2c109.zip
Merge pull request #326 from phil-davis/master
bandwidthd inconsistent field names and defaults
Diffstat (limited to 'config/bandwidthd/bandwidthd.inc')
-rw-r--r--config/bandwidthd/bandwidthd.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/config/bandwidthd/bandwidthd.inc b/config/bandwidthd/bandwidthd.inc
index 79187e40..69724a96 100644
--- a/config/bandwidthd/bandwidthd.inc
+++ b/config/bandwidthd/bandwidthd.inc
@@ -60,12 +60,15 @@ function bandwidthd_install_config() {
config_lock();
/* user defined values */
- $meta_refresh = $config['installedpackages']['bandwidthd']['config'][0]['metarefresh'];
+ $meta_refresh = $config['installedpackages']['bandwidthd']['config'][0]['meta_refresh'];
if($meta_refresh)
$meta_refresh = "meta_refresh $meta_refresh\n";
- $graph = $config['installedpackages']['bandwidthd']['config'][0]['graph'];
+ $graph = $config['installedpackages']['bandwidthd']['config'][0]['drawgraphs'];
if($graph)
$graph = "graph true\n";
+ else
+ $graph = "graph false\n";
+
$filter_text = $config['installedpackages']['bandwidthd']['config'][0]['filter'];
if($filter_text)
$filter_text = "filter $filter_text\n";