summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces.php
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-05-25 13:03:35 -0600
committerErik Fonnesbeck <efonnes@gmail.com>2010-05-25 13:03:35 -0600
commit89e52df87f770ce191fa78e307afde080d6c22e4 (patch)
tree2110b7dea24e82b87a7251a05fbccb16629c5722 /usr/local/www/interfaces.php
parent1cf76394eed899cdcd47cb9008ace6bed2353641 (diff)
downloadpfsense-89e52df87f770ce191fa78e307afde080d6c22e4.zip
pfsense-89e52df87f770ce191fa78e307afde080d6c22e4.tar.gz
Add a default setting to location type of wireless that leaves the setting at its default for the interface.
Diffstat (limited to 'usr/local/www/interfaces.php')
-rwxr-xr-xusr/local/www/interfaces.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 4667801..f5cdf44 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -1400,6 +1400,7 @@ $types = array("none" => "None", "static" => "Static", "dhcp" => "DHCP", "pppoe"
<br/><br/>
Location<br/>
<select name="reglocation" class="formselect" id="reglocation">
+ <option <? if (empty($pconfig['reglocation'])) echo "selected"; ?> value="">Default</option>
<option <? if ($pconfig['reglocation'] == 'indoor') echo "selected"; ?> value="indoor">Indoor</option>
<option <? if ($pconfig['reglocation'] == 'outdoor') echo "selected"; ?> value="outdoor">Outdoor</option>
<option <? if ($pconfig['reglocation'] == 'anywhere') echo "selected"; ?> value="anywhere">Anywhere</option>
OpenPOWER on IntegriCloud