diff options
author | sullrich <sullrich@pfsense.org> | 2009-11-28 17:09:58 -0500 |
---|---|---|
committer | sullrich <sullrich@pfsense.org> | 2009-11-28 17:09:58 -0500 |
commit | 6347e08c4e10e975180e8616802d0aa1f2a3b6f0 (patch) | |
tree | e980d610112d88a222255978e560da12bb6cc01f /etc/inc/vpn.inc | |
parent | 0674f163850c338a4e1f6f12c3d484c9a8d5b955 (diff) | |
download | pfsense-6347e08c4e10e975180e8616802d0aa1f2a3b6f0.zip pfsense-6347e08c4e10e975180e8616802d0aa1f2a3b6f0.tar.gz |
Remove ipsec_in_use sysctl
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r-- | etc/inc/vpn.inc | 4 |
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"); |