diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-09-11 12:34:09 -0400 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-09-11 12:34:09 -0400 |
commit | 6d5e25ce116dadc4b7963c4affe13f271c1493ea (patch) | |
tree | 1a620e7da7f8314d30da4289132b07314c8e7006 /src/usr/local/www/interfaces.php | |
parent | c71c434b63dfa2bb628cb7dce769d361d385a9b6 (diff) | |
download | pfsense-6d5e25ce116dadc4b7963c4affe13f271c1493ea.zip pfsense-6d5e25ce116dadc4b7963c4affe13f271c1493ea.tar.gz |
Fixed 5124 and #5125 (Default values)
Diffstat (limited to 'src/usr/local/www/interfaces.php')
-rw-r--r-- | src/usr/local/www/interfaces.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/interfaces.php b/src/usr/local/www/interfaces.php index 9825a9b..04eeb36 100644 --- a/src/usr/local/www/interfaces.php +++ b/src/usr/local/www/interfaces.php @@ -3063,7 +3063,7 @@ if (isset($wancfg['wireless'])) { $section->addInput(new Form_Select( 'wpa_mode', 'WPA mode', - $pconfig['wpa_mode'], + (isset($pconfig['wpa_mode'])) ? $pconfig['wpa_mode']: '2', ['1' => 'WPA', '2' => 'WPA2', '3' => 'Both'] )); @@ -3084,7 +3084,7 @@ if (isset($wancfg['wireless'])) { $section->addInput(new Form_Select( 'wpa_pairwise', 'WPA Pairwise', - $pconfig['wpa_pairwise'], + (isset($pconfig['wpa_pairwise'])) ? $pconfig['wpa_pairwise']:'CCMP', ['CCMP TKIP' => 'Both', 'CCMP' => 'AES (recommended)', 'TKIP' => 'TKIP'] )); |