diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-03-26 21:46:08 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-03-26 21:46:08 +0000 |
commit | d8c67d69a75c43ff338c48df8a3e2697a8d2b09b (patch) | |
tree | 8418b20a967e8b7696139e712fc236b307ea14ad /usr/local | |
parent | 3883609cf99858f4860022438b68ba54919f4969 (diff) | |
download | pfsense-d8c67d69a75c43ff338c48df8a3e2697a8d2b09b.zip pfsense-d8c67d69a75c43ff338c48df8a3e2697a8d2b09b.tar.gz |
MFC wireless changes
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/interfaces_wlan.inc | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/usr/local/www/interfaces_wlan.inc b/usr/local/www/interfaces_wlan.inc index 54539c2..df5f913 100755 --- a/usr/local/www/interfaces_wlan.inc +++ b/usr/local/www/interfaces_wlan.inc @@ -78,8 +78,9 @@ function wireless_config_init() { } function wireless_config_post() { - global $optcfg, $pconfig, $input_errors; + global $optcfg, $pconfig; + $input_errors = ""; unset($input_errors); /* input validation */ @@ -138,7 +139,6 @@ function wireless_config_post() { $optcfg['wireless']['mode'] = $_POST['mode']; $optcfg['wireless']['protmode'] = $_POST['protmode']; $optcfg['wireless']['ssid'] = $_POST['ssid']; - $optcfg['wireless']['channel'] = $_POST['channel']; $optcfg['wireless']['authmode'] = $_POST['authmode']; $optcfg['wireless']['txpower'] = $_POST['txpower']; @@ -449,6 +449,21 @@ function wireless_config_print() { </td> </tr> <? /* + <tr> + <td valign="top" class="vncell">Enable MAC Filtering</td> + <td class="vtable"><input name="mac_acl_enable" type="checkbox" value="yes" class="formfld" id="mac_acl_enable" <? if ($pconfig['mac_acl_enable']) echo "checked"; ?>> + Setting this option will enable the use of a mac filterlist to allow/deny association based on mac address + <br/><br/> + <select name="macaddr_acl" class="formfld" id="macaddr_acl"> + <option <? if ($pconfig['macaddr_acl'] == '0') echo "selected";?> value="0">Allow</option> + <option <? if ($pconfig['macaddr_acl'] == '1') echo "selected";?> value="1">Deny</option> + <option <? if ($pconfig['macaddr_acl'] == '2') echo "selected";?> value="2">Radius</option> + </select> + <br/><br/> + Setting this to "Allow" will allow all clients in not in deny list, while "Deny" will deny all clients not in allow list. + Radius will cause allow and deny list to be searched and then query radius.</br> + </td> + </tr> */ ?> <tr> <td valign="top" class="vncell">Authentication</td> @@ -493,7 +508,4 @@ function wireless_config_print() { <br/>Setting this option will enable 802.1x authentication. </td> </tr> - <script language="JavaScript"> - document.iform.noedit.enabled = false; - </script> <? } ?> |