From e0d00fb7dad47a99b61db075747fe0d20084925f Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Thu, 15 Feb 2024 09:55:03 +0100 Subject: API Profiles: Check for wireguard+proxy in VPNTransportList --- internal/api/profiles/profiles.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/api') diff --git a/internal/api/profiles/profiles.go b/internal/api/profiles/profiles.go index d31bbcc..0151d8c 100644 --- a/internal/api/profiles/profiles.go +++ b/internal/api/profiles/profiles.go @@ -80,7 +80,7 @@ func (p *Profile) ShouldFailover() bool { return p.HasOpenVPN() } for _, c := range p.VPNProtoTransportList { - if c == "wireguard+tcp" { + if c == "wireguard+proxy" { return true } if c == "openvpn+tcp" { -- cgit v1.2.3