diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-11 00:18:31 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-11 00:18:31 +0000 |
commit | 68c521780c481ef4bdecf4a4f32e8a522b75b2d8 (patch) | |
tree | 5363e0530261b46f1c6185359ae0d49df36e4d76 /etc/inc/vpn.inc | |
parent | 7d479f5a52c8b7fe418495fe3ad825b4ab98e9af (diff) | |
download | pfsense-68c521780c481ef4bdecf4a4f32e8a522b75b2d8.zip pfsense-68c521780c481ef4bdecf4a4f32e8a522b75b2d8.tar.gz |
Ping 10 times when bringing tunnel up
Diffstat (limited to 'etc/inc/vpn.inc')
-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 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}"); } } } |