diff options
author | Ermal <eri@pfsense.org> | 2010-08-18 21:53:05 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-08-18 21:53:05 +0000 |
commit | c60e4f61012753efada5efcc61f9db23fa1c8084 (patch) | |
tree | 5c87d73102d770c794a2622649608f03b1c3ccee /usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc | |
parent | 89c95943a2db96a4a251d6289b7ae545b0478dc7 (diff) | |
download | pfsense-c60e4f61012753efada5efcc61f9db23fa1c8084.zip pfsense-c60e4f61012753efada5efcc61f9db23fa1c8084.tar.gz |
Also do the wizard optimizations and user-friendliness to the traffic_shaper_wizard_multi_all.xml
Diffstat (limited to 'usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc')
-rwxr-xr-x | usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc index efd56a7..b264949 100755 --- a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc @@ -265,8 +265,8 @@ function step2_stepsubmitphpaction() { } $upbw = $_POST["conn{$i}upload"]; $downbw = $_POST["conn{$i}download"]; - if ($upbw == 0 || $downbw = 0) { - $savemsg = gettext("You cannot specify 0 bandwidth!"); + if ($upbw < 1 || $downbw < 1) { + $savemsg = gettext("You cannot specify bandwidth smaller than 1!"); $stepid--; return; } @@ -332,6 +332,7 @@ function step3_stepbeforeformdisplay() { $field['type'] = "listtopic"; $voipfields[] = $field; + $field = array(); $field['name'] = "Provider"; $enablefields[] = "Provider"; $field['type'] = "select"; |