diff options
author | Phil Davis <phil.davis@world.inf.org> | 2012-10-02 17:45:46 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@world.inf.org> | 2012-10-02 17:45:46 +0545 |
commit | e80908b4eea1de01e79a7790fae2912e6a9c9619 (patch) | |
tree | 1cca306e8cc20c2ea11427844c87d72d00bfccb9 /config | |
parent | 7ce86e7209743c52cfb7bf1813aa9ba092bed339 (diff) | |
download | pfsense-packages-e80908b4eea1de01e79a7790fae2912e6a9c9619.tar.gz pfsense-packages-e80908b4eea1de01e79a7790fae2912e6a9c9619.tar.bz2 pfsense-packages-e80908b4eea1de01e79a7790fae2912e6a9c9619.zip |
Fix inconsistent field names
Diffstat (limited to 'config')
-rw-r--r-- | config/bandwidthd/bandwidthd.inc | 7 |
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"; |