Wireguard: fix import function to accept all keys

This commit is contained in:
bergware
2022-04-28 10:19:07 +02:00
parent 1dd5fcb352
commit 83598c268b
@@ -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) {