summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-13 22:08:55 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-13 22:08:55 +0000
commit48f9d64f08071a70bd68244d8cfc564046f9c10f (patch)
tree7fb7cd5576eb6e26b80941b5b3500602726f24b5 /etc/inc/vpn.inc
parenta9f365fee633f9f567cd66d15b1dcd38b07b5556 (diff)
downloadpfsense-48f9d64f08071a70bd68244d8cfc564046f9c10f.zip
pfsense-48f9d64f08071a70bd68244d8cfc564046f9c10f.tar.gz
Clear out setkey after enabling as instructions show.
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r--etc/inc/vpn.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index eebe31f..b7b596a 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -93,7 +93,8 @@ function vpn_ipsec_configure($ipchg = false) {
if(stristr($dmesg_boot, "ACE") == true) {
echo "[VIA Padlock] ";
mwexec("/sbin/kldload padlock");
- mwexec("sysctl net.inet.ipsec.crypto_support=1");
+ mwexec("/sbin/sysctl net.inet.ipsec.crypto_support=1");
+ mwexec("/usr/sbin/setkey -F;/usr/sbin/setkey -FP");
}
}
OpenPOWER on IntegriCloud