mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Ping 10 times to bring up tunnel
This commit is contained in:
parent
5c9cc1decd
commit
b5facc062e
@ -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}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user