From 6c17612310c5781dccd3f3bd49a50dda4cf219e1 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Thu, 25 Aug 2022 13:03:58 +0000 Subject: [PATCH] chore(filter): no network protocol filter for Wireguard --- internal/storage/filter.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/storage/filter.go b/internal/storage/filter.go index 353c2d87..0f130de9 100644 --- a/internal/storage/filter.go +++ b/internal/storage/filter.go @@ -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 }