chore(filter): no network protocol filter for Wireguard

This commit is contained in:
Quentin McGaw
2022-08-25 13:03:58 +00:00
parent fba73a0a0f
commit 6c17612310

View File

@@ -52,7 +52,8 @@ func filterServer(server models.Server,
return true
}
if filterByProtocol(selection, server.TCP, server.UDP) {
if server.VPN != vpn.Wireguard &&
filterByProtocol(selection, server.TCP, server.UDP) {
return true
}