summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_shaper_queues.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-12-01 02:02:06 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-12-01 02:02:06 +0000
commit75d5cf4f69e23aee7059a7ec8e99fb22ddbfd115 (patch)
tree7d84dbe98f74707214ae3c8914c2b9ba6916ab6e /usr/local/www/firewall_shaper_queues.php
parentdd4c094acb885d30524e430dfaa14ddf7bc2c42d (diff)
downloadpfsense-75d5cf4f69e23aee7059a7ec8e99fb22ddbfd115.zip
pfsense-75d5cf4f69e23aee7059a7ec8e99fb22ddbfd115.tar.gz
Allow editing for queues and rules when items are already defined and the shaper is disabled
Diffstat (limited to 'usr/local/www/firewall_shaper_queues.php')
-rwxr-xr-xusr/local/www/firewall_shaper_queues.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/firewall_shaper_queues.php b/usr/local/www/firewall_shaper_queues.php
index cc2c86f..7fc23ab 100755
--- a/usr/local/www/firewall_shaper_queues.php
+++ b/usr/local/www/firewall_shaper_queues.php
@@ -46,12 +46,12 @@ $a_queues = &$config['shaper']['queue'];
/* redirect to wizard if shaper isn't already configured */
if(isset($config['shaper']['enable'])) {
- $pconfig['enable'] = TRUE;
+ $pconfig['enable'] = TRUE;
} else {
- Header("Location: wizard.php?xml=traffic_shaper_wizard.xml");
+ if(!is_array($config['shaper']['queue']))
+ Header("Location: wizard.php?xml=traffic_shaper_wizard.xml");
}
-
$iflist = array("lan" => "LAN", "wan" => "WAN");
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
OpenPOWER on IntegriCloud