From b5facc062e115ca2360f750fd072012f01277c23 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 12 Jul 2005 23:26:36 +0000 Subject: Ping 10 times to bring up tunnel --- etc/inc/vpn.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/inc/vpn.inc') 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}"); } } } -- cgit v1.1