summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-01-15 17:29:04 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-01-15 17:29:04 +0000
commit0282154320d19fb20985c006a2ba42b75f9e894c (patch)
tree1c4340dd0cd17ec4c14c28fb06a4406ea5cd664a
parent989f0b0827e72b67d9a920e69b16e7212cf3204a (diff)
downloadpfsense-0282154320d19fb20985c006a2ba42b75f9e894c.zip
pfsense-0282154320d19fb20985c006a2ba42b75f9e894c.tar.gz
attempt loading SPD entries 4 times
-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 af0c433..404d26c 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -574,7 +574,7 @@ EOD;
mwexec("/sbin/setkey -FP");
mwexec("/sbin/setkey -F");
$i = 0;
- while($i < 2) {
+ while($i < 4) {
/* load SPD */
mwexec("/bin/cat {$g['varetc_path']}/spd.conf | /usr/local/bin/slowdownpipe.sh | /sbin/setkey -c");
sleep(2);
@@ -587,7 +587,7 @@ EOD;
mwexec("/sbin/setkey -FP");
mwexec("/sbin/setkey -F");
$i = 0;
- while($i < 2) {
+ while($i < 4) {
/* load SPD */
mwexec("/bin/cat {$g['varetc_path']}/spd.conf | /usr/local/bin/slowdownpipe.sh | /sbin/setkey -c");
sleep(2);
OpenPOWER on IntegriCloud