diff options
author | Ermal <eri@pfsense.org> | 2010-06-15 21:24:23 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-06-15 21:24:53 +0000 |
commit | 42f4bbd96a0bffbfb589f705642cb0bd6a01cb44 (patch) | |
tree | b362915c8f574e9041ff73f77d43d4b07920c77a /usr/local/www | |
parent | 1e357c00bdf6165ccea04cc8d02ed5160ec68ddd (diff) | |
download | pfsense-42f4bbd96a0bffbfb589f705642cb0bd6a01cb44.zip pfsense-42f4bbd96a0bffbfb589f705642cb0bd6a01cb44.tar.gz |
Ticket #655. Call vpn_ipsec_configured in all cases it knows how to handle enabled/disabled ipsec setting.
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/vpn_ipsec.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php index 0fdecc8..2c34085 100755 --- a/usr/local/www/vpn_ipsec.php +++ b/usr/local/www/vpn_ipsec.php @@ -74,13 +74,7 @@ if ($_POST) { $config['ipsec']['enable'] = $_POST['enable'] ? true : false; - if(!$config['ipsec']['enable']) { - if(is_process_running("racoon")) - mwexec("killall racoon"); - } else { - $retval = vpn_ipsec_configure(); - } - + $retval = vpn_ipsec_configure(); write_config(); } } |