mirror of
https://github.com/unraid/webgui.git
synced 2026-01-06 01:29:54 -06:00
Update update.wireguard.php
This commit is contained in:
@@ -36,7 +36,7 @@ function port($dev) {
|
||||
return file_exists("/sys/class/net/$dev");
|
||||
}
|
||||
|
||||
function carrier($dev, $loop=10) {
|
||||
function carrier($dev, $loop=3) {
|
||||
if (!port($dev)) return false;
|
||||
try {
|
||||
for ($n=0; $n<$loop; $n++) {
|
||||
|
||||
Reference in New Issue
Block a user