mirror of
https://github.com/unraid/webgui.git
synced 2026-04-29 06:19:30 -05:00
Wireguard: fix import function to accept all keys
This commit is contained in:
@@ -91,6 +91,7 @@ function vtun() {
|
||||
function normalize(&$id) {
|
||||
// ensure correct capitalization of keywords, some VPN providers use the wrong case
|
||||
global $normalize;
|
||||
// allow fallback for non-included keywords
|
||||
$id = $normalize[strtolower($id)] ?? $id;
|
||||
}
|
||||
function dockerNet($vtun) {
|
||||
|
||||
Reference in New Issue
Block a user