diff options
author | Ermal LUÇI <eri@pfsense.org> | 2015-01-13 20:43:59 +0100 |
---|---|---|
committer | Ermal LUÇI <eri@pfsense.org> | 2015-01-13 20:43:59 +0100 |
commit | 3a56c1466340d09e23f91e2917ac93a75141d68a (patch) | |
tree | ae41aa045d3017991ae43bfd26a8c1033f1d1540 | |
parent | 656fd270f0a59227ad60c8eff41599d5fd39e0e8 (diff) | |
download | pfsense-3a56c1466340d09e23f91e2917ac93a75141d68a.zip pfsense-3a56c1466340d09e23f91e2917ac93a75141d68a.tar.gz |
Actually remove rekey/reauth from config to avoid strange issues. Ticket #4208
-rw-r--r-- | usr/local/www/vpn_ipsec_phase1.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/vpn_ipsec_phase1.php b/usr/local/www/vpn_ipsec_phase1.php index a0735b5..9463d2f 100644 --- a/usr/local/www/vpn_ipsec_phase1.php +++ b/usr/local/www/vpn_ipsec_phase1.php @@ -371,8 +371,12 @@ if ($_POST) { if (isset($pconfig['reauth_enable'])) $ph1ent['reauth_enable'] = true; + else + unset($ph1ent['reauth_enable']); if (isset($pconfig['rekey_enable'])) $ph1ent['rekey_enable'] = true; + else + unset($ph1ent['rekey_enable']); if (isset($pconfig['dpd_enable'])) { $ph1ent['dpd_delay'] = $pconfig['dpd_delay']; |