diff options
author | Ermal <eri@pfsense.org> | 2014-11-02 00:20:27 +0100 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-11-02 00:20:27 +0100 |
commit | ce21dfca2126f2882b44cf7e82ddb79c068e87ba (patch) | |
tree | c2ea2fc1fb73599620a381d7d95a5981def449d4 /usr/local/www/vpn_ipsec_phase1.php | |
parent | 8cb7d3e38698125855be263f3416cc12a1c5d8d9 (diff) | |
download | pfsense-ce21dfca2126f2882b44cf7e82ddb79c068e87ba.zip pfsense-ce21dfca2126f2882b44cf7e82ddb79c068e87ba.tar.gz |
Correct dispaly of checkboxes for ipsec
Diffstat (limited to 'usr/local/www/vpn_ipsec_phase1.php')
-rw-r--r-- | usr/local/www/vpn_ipsec_phase1.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/vpn_ipsec_phase1.php b/usr/local/www/vpn_ipsec_phase1.php index 6c22f71..3edb8ad 100644 --- a/usr/local/www/vpn_ipsec_phase1.php +++ b/usr/local/www/vpn_ipsec_phase1.php @@ -107,9 +107,9 @@ if (isset($p1index) && $a_phase1[$p1index]) { $pconfig['descr'] = $a_phase1[$p1index]['descr']; $pconfig['nat_traversal'] = $a_phase1[$p1index]['nat_traversal']; - if (!isset($a_phase1[$p1index]['reauth_enable'])) + if (isset($a_phase1[$p1index]['reauth_enable'])) $pconfig['reauth_enable'] = true; - if (!isset($a_phase1[$p1index]['rekey_enable'])) + if (isset($a_phase1[$p1index]['rekey_enable'])) $pconfig['rekey_enable'] = true; if ($a_phase1[$p1index]['dpd_delay'] && $a_phase1[$p1index]['dpd_maxfail']) { |