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_all.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_all.inc')
-rwxr-xr-x | usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc b/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc index 7c13c6c..c63cf77 100755 --- a/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc @@ -254,7 +254,7 @@ function step2_stepsubmitphpaction() { $steps = intval($config['ezshaper']['step1']['numberofconnections']); $localint = intval($config['ezshaper']['step1']['numberoflocalinterfaces']); for ($i = 0; $i < $steps; $i++) { - for ($j = $i + 1; $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 connections {$i} and {$j}."); $stepid--; |