summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-12 23:26:36 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-12 23:26:36 +0000
commitb5facc062e115ca2360f750fd072012f01277c23 (patch)
tree21a01aabc703ebb093eb41825d1ac43c4f14a315 /etc/inc/vpn.inc
parent5c9cc1decd4197b17202d272db1a1591a3529347 (diff)
downloadpfsense-b5facc062e115ca2360f750fd072012f01277c23.zip
pfsense-b5facc062e115ca2360f750fd072012f01277c23.tar.gz
Ping 10 times to bring up tunnel
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r--etc/inc/vpn.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 8ed4f73..a730d7c 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -528,7 +528,7 @@ EOD;
$remotehost = substr($tunnel['remote-subnet'],0,strpos($tunnel['remote-subnet'],"/"));
$srchost = vpn_endpoint_determine($tunnel, $curwanip);
if ($srchost)
- mwexec_bg("/sbin/ping -c 1 -S {$srchost} {$remotehost}");
+ mwexec_bg("/sbin/ping -c 10 -S {$srchost} {$remotehost}");
}
}
}
OpenPOWER on IntegriCloud