From 68c521780c481ef4bdecf4a4f32e8a522b75b2d8 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 11 Jul 2005 00:18:31 +0000 Subject: [PATCH] Ping 10 times when bringing tunnel up --- 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 a3735468a2..3e9b7f37fd 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -402,7 +402,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}"); } } }