diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-10-23 17:12:19 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-10-23 17:12:19 +0000 |
commit | 6518f0a69c521cd9028b3927ced978e462ce5b60 (patch) | |
tree | 6f9b8e6f5f1cd80afa1f92d00336e3ce1e596efb /usr/local/www/interfaces_wlan.inc | |
parent | 831d2c91068cad3b40e78adc971f239a86e29b52 (diff) | |
download | pfsense-6518f0a69c521cd9028b3927ced978e462ce5b60.zip pfsense-6518f0a69c521cd9028b3927ced978e462ce5b60.tar.gz |
Use isset()
Ticket #631
Diffstat (limited to 'usr/local/www/interfaces_wlan.inc')
-rwxr-xr-x | usr/local/www/interfaces_wlan.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/interfaces_wlan.inc b/usr/local/www/interfaces_wlan.inc index 518ed4c..251032f 100755 --- a/usr/local/www/interfaces_wlan.inc +++ b/usr/local/www/interfaces_wlan.inc @@ -54,7 +54,7 @@ function wireless_config_init() { $pconfig['wpa_pairwise'] = $optcfg['wireless']['wpa']['wpa_pairwise']; $pconfig['wpa_group_rekey'] = $optcfg['wireless']['wpa']['wpa_group_rekey']; $pconfig['wpa_gmk_rekey'] = $optcfg['wireless']['wpa']['wpa_gmk_rekey']; - $pconfig['wpa_strict_rekey'] = $optcfg['wireless']['wpa']['wpa_strict_rekey']; + $pconfig['wpa_strict_rekey'] = isset($optcfg['wireless']['wpa']['wpa_strict_rekey']); $pconfig['passphrase'] = $optcfg['wireless']['wpa']['passphrase']; $pconfig['ieee8021x_enable'] = isset($optcfg['wireless']['wpa']['ieee8021x']['enable']); $pconfig['ext_wpa_sw'] = $optcfg['wireless']['wpa']['ext_wpa_sw']; |