summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-01-20 23:14:52 +0000
committerErmal Luçi <eri@pfsense.org>2008-01-20 23:14:52 +0000
commita156ca9a5c5b4ac14b997553740227d887ffc07a (patch)
treeb60b124424642159d7f177da705c627f75390041
parentf6f7ad1c90f7308721a310cdd66dfbcfe12b0b93 (diff)
downloadpfsense-a156ca9a5c5b4ac14b997553740227d887ffc07a.zip
pfsense-a156ca9a5c5b4ac14b997553740227d887ffc07a.tar.gz
Fix an error on the wizard.
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.inc b/usr/local/www/wizards/traffic_shaper_wizard.inc
index 08d7f2e..ec8528e 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard.inc
@@ -630,6 +630,7 @@ $othersplist = array();
$p2pcatchall = false;
$p2pcatchbw = 0;
$games = false;
+ $otherpriority = false;
/* Values are in percent */
if ($sched == "CBQ" || $sched == "HFSC") {
if ($config['ezshaper']['step3']['enable']) {
@@ -670,7 +671,7 @@ $othersplist = array();
if ($config['ezshaper']['step6']['enable']) {
$otherpriority = true;
} else
- $games = false;
+ $otherpriority = false;
if ($voipbw + $penaltybw + $p2pcatchbw > 65) {
$message=gettext("Custom Bandwidths are greater than 65%. Please lower them for the wizard to continue.");
OpenPOWER on IntegriCloud