diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-12 23:26:36 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-12 23:26:36 +0000 |
commit | b5facc062e115ca2360f750fd072012f01277c23 (patch) | |
tree | 21a01aabc703ebb093eb41825d1ac43c4f14a315 | |
parent | 5c9cc1decd4197b17202d272db1a1591a3529347 (diff) | |
download | pfsense-b5facc062e115ca2360f750fd072012f01277c23.zip pfsense-b5facc062e115ca2360f750fd072012f01277c23.tar.gz |
Ping 10 times to bring up tunnel
-rw-r--r-- | etc/inc/vpn.inc | 2 |
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}"); } } } |