summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-03-28 15:18:17 +0000
committerErmal <eri@pfsense.org>2014-03-28 15:18:17 +0000
commit6e474fa9a12514cbdea68e380b79229e4be3034e (patch)
treeb5535e0ba0b51b92245aebe97daa3e86e1f46506
parentc40d6c7a99c35838ed222b83ee3d8c903a68e6b6 (diff)
downloadpfsense-6e474fa9a12514cbdea68e380b79229e4be3034e.zip
pfsense-6e474fa9a12514cbdea68e380b79229e4be3034e.tar.gz
Correct check that was broken even before to actually make the ieee8021x enable from proper setting. Reported-by: https://forum.pfsense.org/index.php?topic=74013.0
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index c92b42d..852509f 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -2576,7 +2576,7 @@ rsn_preauth_interfaces={$if}
EOD;
}
- if (isset($wlcfg['wpa']['ieee8021x'])) {
+ if (is_array($wlcfg['wpa']['ieee8021x']) && isset($wlcfg['wpa']['ieee8021x']['enable'])) {
$wpa .= "ieee8021x=1\n";
if (!empty($wlcfg['auth_server_addr']) && !empty($wlcfg['auth_server_shared_secret'])) {
OpenPOWER on IntegriCloud