diff options
author | Ermal <eri@pfsense.org> | 2011-01-24 16:38:43 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-01-24 16:38:43 +0000 |
commit | 8d9c3f7610953e4519ec578e61961c22d3fe4404 (patch) | |
tree | 5cc540d70d10544777753f4dbcb0ce709c533dc1 /usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc | |
parent | 71f88d75b97608986cb912e00972b309748b6a96 (diff) | |
download | pfsense-8d9c3f7610953e4519ec578e61961c22d3fe4404.zip pfsense-8d9c3f7610953e4519ec578e61961c22d3fe4404.tar.gz |
Properly check empty fields when specifying bandwidth values.
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.inc | 2 |
1 files changed, 1 insertions, 1 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 44d5314..731d327 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc @@ -228,7 +228,7 @@ function step2_stepsubmitphpaction() { /* Input Validation */ $steps = intval($config['ezshaper']['step1']['numberofconnections']); for ($i = 0; $i < $steps; $i++) { - for ($j = $j; $j < $steps; $j++) { + for ($j = $i + 1; $j <= $steps; $j++) { if ($_POST["conn{$i}interface"] == $_POST["conn{$j}interface"]) { $savemsg=gettext("You cannot select the same interface for different LAN #{$i} and LAN #{$j}."); $stepid--; |