summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-02-08 19:40:49 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-02-08 19:40:49 +0000
commit0c13691b82ac0b85c2e3ec7fc42c6ed25f67b850 (patch)
treecb4faadee11d994d38e8df8b0feb070d3ffd71c6 /usr/local
parent369c0d23c731ac8968217c4d86d9ed0eea5a59cc (diff)
downloadpfsense-0c13691b82ac0b85c2e3ec7fc42c6ed25f67b850.zip
pfsense-0c13691b82ac0b85c2e3ec7fc42c6ed25f67b850.tar.gz
Correct previous commit where traffic shaper cannot be disabled.
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/firewall_shaper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_shaper.php b/usr/local/www/firewall_shaper.php
index 8cf3461..d87de9a 100755
--- a/usr/local/www/firewall_shaper.php
+++ b/usr/local/www/firewall_shaper.php
@@ -56,7 +56,7 @@ if ($_POST) {
}
if ($_POST['apply'] || $_POST['submit']) {
- $config['shaper']['enable'] = true;
+ $config['shaper']['enable'] = $_POST['enable'] ? true : false;
write_config();
$retval = 0;
$savemsg = get_std_save_message($retval);
OpenPOWER on IntegriCloud