diff options
Diffstat (limited to 'usr/local/www')
-rw-r--r-- | usr/local/www/system_advanced_misc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_advanced_misc.php b/usr/local/www/system_advanced_misc.php index 1390992..217d40f 100644 --- a/usr/local/www/system_advanced_misc.php +++ b/usr/local/www/system_advanced_misc.php @@ -114,7 +114,7 @@ if ($_POST) { if($_POST['preferoldsa_enable'] == "yes") $config['ipsec']['preferoldsa'] = true; - else + elseif (isset($config['ipsec']['preferoldsa'])) unset($config['ipsec']['preferoldsa']); $need_racoon_restart = false; |