summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-11 00:18:31 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-11 00:18:31 +0000
commit68c521780c481ef4bdecf4a4f32e8a522b75b2d8 (patch)
tree5363e0530261b46f1c6185359ae0d49df36e4d76
parent7d479f5a52c8b7fe418495fe3ad825b4ab98e9af (diff)
downloadpfsense-68c521780c481ef4bdecf4a4f32e8a522b75b2d8.zip
pfsense-68c521780c481ef4bdecf4a4f32e8a522b75b2d8.tar.gz
Ping 10 times when bringing tunnel up
-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 a373546..3e9b7f3 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}");
}
}
}
OpenPOWER on IntegriCloud