summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-08-09 21:00:38 +0000
committerErmal <eri@pfsense.org>2011-08-09 21:00:50 +0000
commitd78df7b98c9e7a3f0dcaad4eac7d2d496763713c (patch)
tree9d0772a6d39cfb9704d55a188f31610ecbbf0592 /usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc
parentae21b2891401674fdaa2422c6c1e286f39a78a93 (diff)
downloadpfsense-d78df7b98c9e7a3f0dcaad4eac7d2d496763713c.zip
pfsense-d78df7b98c9e7a3f0dcaad4eac7d2d496763713c.tar.gz
Make the checks during step4 and step5 actually work.
Diffstat (limited to 'usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc')
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc b/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc
index db56f7a..7d47ed2 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc
@@ -360,7 +360,7 @@ function step4_stepsubmitphpaction() {
return;
}
$bw = $_POST['bandwidth'];
- if($bw > 15 && $bw < 2) {
+ if($bw > 15 || $bw < 2) {
$savemsg="Values should be between 2% and 15%!";
$stepid--;
return;
@@ -394,7 +394,7 @@ function step5_stepsubmitphpaction() {
return;
}
$bw = $_POST['bandwidth'];
- if($bw > 15 && $bw < 2) {
+ if($bw > 15 || $bw < 2) {
$savemsg="Values should be between 2% and 15%!";
$stepid--;
return;
OpenPOWER on IntegriCloud