From 957b9bb50967c9f1611c8825d5455c4dd0c37e15 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 4 Feb 2007 09:00:33 +0000 Subject: Do not include " for subnets --- packages/bandwidthd/bandwidthd.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'packages') 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"; } } -- cgit v1.2.3