summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
authorsullrich <sullrich@pfsense.org>2009-11-28 17:09:58 -0500
committersullrich <sullrich@pfsense.org>2009-11-28 17:09:58 -0500
commit6347e08c4e10e975180e8616802d0aa1f2a3b6f0 (patch)
treee980d610112d88a222255978e560da12bb6cc01f /etc/inc/vpn.inc
parent0674f163850c338a4e1f6f12c3d484c9a8d5b955 (diff)
downloadpfsense-6347e08c4e10e975180e8616802d0aa1f2a3b6f0.zip
pfsense-6347e08c4e10e975180e8616802d0aa1f2a3b6f0.tar.gz
Remove ipsec_in_use sysctl
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r--etc/inc/vpn.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 4ba4808..6c82a9c 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -144,7 +144,7 @@ function vpn_ipsec_configure($ipchg = false)
mwexec("/usr/local/sbin/setkey -F");
/* disallow IPSEC, it is off */
- exec("/sbin/sysctl net.inet.ip.ipsec_in_use=0");
+// exec("/sbin/sysctl net.inet.ip.ipsec_in_use=0");
return true;
} else {
@@ -859,7 +859,7 @@ EOD;
sleep("0.1");
mwexec("/usr/local/sbin/setkey -F", false);
sleep("0.1");
- exec("/sbin/sysctl net.inet.ip.ipsec_in_use=1");
+// exec("/sbin/sysctl net.inet.ip.ipsec_in_use=1");
/* start racoon */
mwexec("/usr/local/sbin/racoon -f {$g['varetc_path']}/racoon.conf", false);
sleep("0.1");
OpenPOWER on IntegriCloud