summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-06-15 21:24:23 +0000
committerErmal <eri@pfsense.org>2010-06-15 21:24:53 +0000
commit42f4bbd96a0bffbfb589f705642cb0bd6a01cb44 (patch)
treeb362915c8f574e9041ff73f77d43d4b07920c77a /usr/local/www
parent1e357c00bdf6165ccea04cc8d02ed5160ec68ddd (diff)
downloadpfsense-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-xusr/local/www/vpn_ipsec.php8
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();
}
}
OpenPOWER on IntegriCloud