diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-09-15 17:08:37 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-09-15 17:08:37 +0000 |
commit | bfe1ef8c6f2e671dc0eebca878ca3cd2268f1b10 (patch) | |
tree | 1c94d45c7fcb8f2395d3ce3646db1d01bf7b0d20 | |
parent | 29c691353bba4d1e6f7c109206b290cbbe348385 (diff) | |
download | pfsense-bfe1ef8c6f2e671dc0eebca878ca3cd2268f1b10.zip pfsense-bfe1ef8c6f2e671dc0eebca878ca3cd2268f1b10.tar.gz |
Correctly handle 802.11x setting.
-rwxr-xr-x | usr/local/www/interfaces.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index dfd0178..4667c60 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -215,7 +215,7 @@ if (isset($wancfg['wireless'])) { $pconfig['wpa_gmk_rekey'] = $wancfg['wireless']['wpa']['wpa_gmk_rekey']; $pconfig['wpa_strict_rekey'] = isset($wancfg['wireless']['wpa']['wpa_strict_rekey']); $pconfig['passphrase'] = $wancfg['wireless']['wpa']['passphrase']; - $pconfig['ieee8021x_enable'] = isset($wancfg['wireless']['wpa']['ieee8021x']['enable']); + $pconfig['ieee8021x'] = isset($wancfg['wireless']['wpa']['ieee8021x']['enable']); $pconfig['ext_wpa_sw'] = $wancfg['wireless']['wpa']['ext_wpa_sw']; $pconfig['wpa_enable'] = isset($wancfg['wireless']['wpa']['enable']); } @@ -639,7 +639,7 @@ n already exists."; else unset($wancfg['wireless']['wpa']['mac_acl_enable']); - if ($_POST['ieee8021x_enable'] == "yes") + if ($_POST['ieee8021x'] == "yes") $wancfg['wireless']['wpa']['ieee8021x']['enable'] = true; else unset($wancfg['wireless']['wpa']['ieee8021x']['enable']); |