From b5facc062e115ca2360f750fd072012f01277c23 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 12 Jul 2005 23:26:36 +0000 Subject: [PATCH] Ping 10 times to bring up tunnel --- etc/inc/vpn.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index 8ed4f7382e..a730d7cab5 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}"); } } }