diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-05-25 13:03:35 -0600 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-05-25 13:03:35 -0600 |
commit | 89e52df87f770ce191fa78e307afde080d6c22e4 (patch) | |
tree | 2110b7dea24e82b87a7251a05fbccb16629c5722 /usr/local | |
parent | 1cf76394eed899cdcd47cb9008ace6bed2353641 (diff) | |
download | pfsense-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')
-rwxr-xr-x | usr/local/www/interfaces.php | 1 |
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> |