summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-25 19:51:05 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-25 19:51:05 +0000
commitef773bd634a3dfa1bdce90e99bda6de249588ac2 (patch)
tree1637838998d3716126dbce9ab65b387c19060be6 /usr/local
parentfdf8b0a82a6854750e27d69dfdc72c067e35c400 (diff)
downloadpfsense-ef773bd634a3dfa1bdce90e99bda6de249588ac2.zip
pfsense-ef773bd634a3dfa1bdce90e99bda6de249588ac2.tar.gz
MFC 7992
Fix mac filter bit from ticket 684. Mac filtering is still a backend function, to enable one has to create the mac filter files in shell and comment out the # lines in hostapd config file. This will be part of my rewrite of wireless once i'm done with everything, but interface design needs to be redone first (as adding the mac filterlists to the wireless config page will "clutter it up" even more)
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/interfaces_wlan.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/interfaces_wlan.inc b/usr/local/www/interfaces_wlan.inc
index 2ea14cd..a731f4b 100755
--- a/usr/local/www/interfaces_wlan.inc
+++ b/usr/local/www/interfaces_wlan.inc
@@ -49,7 +49,7 @@ function wireless_config_init() {
$pconfig['hidessid_enable'] = isset($optcfg['wireless']['hidessid']['enable']);
$pconfig['debug_mode'] = $optcfg['wireless']['wpa']['debug_mode'];
$pconfig['macaddr_acl'] = $optcfg['wireless']['wpa']['macaddr_acl'];
- $pconfig['mac_acl_enable'] = $optcfg['wireless']['wpa']['mac_acl_enable'];
+ $pconfig['mac_acl_enable'] = isset($optcfg['wireless']['wpa']['mac_acl_enable']);
$pconfig['auth_algs'] = $optcfg['wireless']['wpa']['auth_algs'];
$pconfig['wpa_mode'] = $optcfg['wireless']['wpa']['wpa_mode'];
$pconfig['wpa_key_mgmt'] = $optcfg['wireless']['wpa']['wpa_key_mgmt'];
@@ -425,6 +425,8 @@ function wireless_config_print() {
</select>
</td>
</tr>
+ <? /*
+ */ ?>
<tr>
<td valign="top" class="vncell">Authentication</td>
<td class="vtable"><select name="auth_algs" class="formfld" id="auth_algs">
OpenPOWER on IntegriCloud