summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_wlan.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-25 16:08:50 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-25 16:08:50 +0000
commit51a33e20e29b7813b242c6e011b6c26fe5baab0f (patch)
tree813493b7a5d4416e8d7a8348d4c70ba4e7662c0c /usr/local/www/interfaces_wlan.inc
parent2e1c19913d07c94fa095704c8d173ca45044a765 (diff)
downloadpfsense-51a33e20e29b7813b242c6e011b6c26fe5baab0f.zip
pfsense-51a33e20e29b7813b242c6e011b6c26fe5baab0f.tar.gz
Correctly count to 0
Diffstat (limited to 'usr/local/www/interfaces_wlan.inc')
-rwxr-xr-xusr/local/www/interfaces_wlan.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/interfaces_wlan.inc b/usr/local/www/interfaces_wlan.inc
index f6d4e6a..d2aeb6a 100755
--- a/usr/local/www/interfaces_wlan.inc
+++ b/usr/local/www/interfaces_wlan.inc
@@ -153,7 +153,7 @@ function wireless_config_print() {
<td class="vtable">
<select name="txpower">
<?php
- for($x=100; $x<1; $x--) {
+ for($x = 100; $x > 0; $x--) {
if($pconfig["txpower"] == $x)
$SELECTED = " SELECTED";
else
OpenPOWER on IntegriCloud