Commit 45a3add2 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) regression interfaces.php (wireless)

parent 43941926
...@@ -498,7 +498,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { ...@@ -498,7 +498,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
'debug_mode', 'macaddr_acl', 'auth_algs', 'wpa_mode', 'wpa_key_mgmt', 'wpa_pairwise', 'debug_mode', 'macaddr_acl', 'auth_algs', 'wpa_mode', 'wpa_key_mgmt', 'wpa_pairwise',
'wpa_group_rekey', 'wpa_gmk_rekey', 'passphrase', 'ext_wpa_sw' 'wpa_group_rekey', 'wpa_gmk_rekey', 'passphrase', 'ext_wpa_sw'
); );
foreach ($std_wl_copy_fieldnames as $fieldname) { foreach ($std_wl_wpa_copy_fieldnames as $fieldname) {
$pconfig[$fieldname] = isset($a_interfaces[$if]['wireless']['wpa'][$fieldname]) ? $a_interfaces[$if]['wireless']['wpa'][$fieldname] : null; $pconfig[$fieldname] = isset($a_interfaces[$if]['wireless']['wpa'][$fieldname]) ? $a_interfaces[$if]['wireless']['wpa'][$fieldname] : null;
} }
$pconfig['ieee8021x'] = isset($a_interfaces[$if]['wireless']['wpa']['ieee8021x']['enable']); $pconfig['ieee8021x'] = isset($a_interfaces[$if]['wireless']['wpa']['ieee8021x']['enable']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment