diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-02-04 09:00:33 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-02-04 09:00:33 +0000 |
commit | 957b9bb50967c9f1611c8825d5455c4dd0c37e15 (patch) | |
tree | ff438816c45ce08413cb63d771f1307d86f602fe /packages | |
parent | b98046f81bcdee43442e55719e570fa0bc737a71 (diff) | |
download | pfsense-packages-957b9bb50967c9f1611c8825d5455c4dd0c37e15.tar.gz pfsense-packages-957b9bb50967c9f1611c8825d5455c4dd0c37e15.tar.bz2 pfsense-packages-957b9bb50967c9f1611c8825d5455c4dd0c37e15.zip |
Do not include " for subnets
Diffstat (limited to 'packages')
-rw-r--r-- | packages/bandwidthd/bandwidthd.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/bandwidthd/bandwidthd.inc b/packages/bandwidthd/bandwidthd.inc index 7ba6f8fd..b2f998c2 100644 --- a/packages/bandwidthd/bandwidthd.inc +++ b/packages/bandwidthd/bandwidthd.inc @@ -43,9 +43,9 @@ function bandwidthd_install_config() { $graph = $config['installedpackages']['bandwidthd']['config'][0]['graph']; if($graph) $graph = "graph $meta_refresh\n"; - $filter = $config['installedpackages']['bandwidthd']['config'][0]['filter']; - if($filter) - $filter = "filter $meta_refresh\n"; + $filter_text = $config['installedpackages']['bandwidthd']['config'][0]['filter']; + if($filter_text) + $filter_text = "filter $meta_refresh\n"; $recover_cdf = $config['installedpackages']['bandwidthd']['config'][0]['recovercdf']; if($recover_cdf) $recover_cdf = "recover_cdf $meta_refresh\n"; @@ -75,9 +75,9 @@ function bandwidthd_install_config() { if($subnet == "pppoe" or $subnet == "dhcp") { $subnet = find_interface_ip("ng0"); if($subnet) - $subnets .= "subnet \"{$subnet}\""; + $subnets .= "subnet {$subnet}"; } else { - $subnets .= "subnet \"{$subnet}/{$ifcfg['subnet']}\"\n"; + $subnets .= "subnet {$subnet}/{$ifcfg['subnet']}\n"; } } |