summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-02-11 11:59:19 +0100
committerErmal <eri@pfsense.org>2014-02-11 11:59:19 +0100
commit3442e3536c7782126c6f7740a70751774eda145c (patch)
tree4bd7edcacc2f738648b1c39df7f6f1391e7f4ef0
parentf188be51ae242a6de7f99b0c6206ec24d5296af4 (diff)
downloadpfsense-3442e3536c7782126c6f7740a70751774eda145c.zip
pfsense-3442e3536c7782126c6f7740a70751774eda145c.tar.gz
Properly set the configuration here based on https://forum.pfsense.org/index.php/topic,68531.0.html
-rw-r--r--etc/inc/interfaces.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 22a109f..5c4416e 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -2577,8 +2577,8 @@ auth_server_port={$auth_server_port2}
auth_server_shared_secret={$wlcfg['auth_server_shared_secret2']}
EOD;
- } else {
- $wpa .= "ieee8021x={$wlcfg['wpa']['ieee8021x']}\n";
+ } else if (isset($wlcfg['wpa']['ieee8021x'])) {
+ $wpa .= "ieee8021x=1\n";
}
$fd = fopen("{$g['varetc_path']}/hostapd_{$if}.conf", "w");
OpenPOWER on IntegriCloud