mirror of
https://github.com/unraid/webgui.git
synced 2026-04-24 19:29:13 -05:00
WireGuard: fix typo setting up routes
This commit is contained in:
@@ -118,7 +118,7 @@ function addDocker($vtun) {
|
||||
[$device,$thisnet,$gateway] = thisNet();
|
||||
exec("ip -4 rule add from $network table $index");
|
||||
exec("ip -4 route add unreachable default table $index");
|
||||
exec("ip -4 route add $thisnet via $gateway dev $device able $index");
|
||||
exec("ip -4 route add $thisnet via $gateway dev $device table $index");
|
||||
}
|
||||
return $error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user