summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-15 17:39:09 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-15 17:39:09 +0000
commit8b2503a471457b57a9f855507e6b72de3f340190 (patch)
tree1444edb8801e957330388b27ad95fb9476f18d66 /usr/local/www/wizards
parent093441f052d6ed00f1997af4d720059392055c1b (diff)
downloadpfsense-8b2503a471457b57a9f855507e6b72de3f340190.zip
pfsense-8b2503a471457b57a9f855507e6b72de3f340190.tar.gz
Unset the bandwidth items in WAN and LAN during traffic shaping configuration
Diffstat (limited to 'usr/local/www/wizards')
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.xml b/usr/local/www/wizards/traffic_shaper_wizard.xml
index b362d91..1b9ca04 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard.xml
+++ b/usr/local/www/wizards/traffic_shaper_wizard.xml
@@ -48,6 +48,10 @@
/* wipe previous */
unset($config['shaper']['queue']);
unset($config['shaper']['rule']);
+ unset($config['interfaces']['wan']['bandwidth']);
+ unset($config['interfaces']['wan']['bandwidthtype']);
+ unset($config['interfaces']['lan']['bandwidth']);
+ unset($config['interfaces']['lan']['bandwidthtype']);
$config['shaper']['enable'] = FALSE;
</stepsubmitphpaction>
</step>
OpenPOWER on IntegriCloud