summaryrefslogtreecommitdiff
path: root/internal/api
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-02-15 09:55:03 +0100
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2024-02-19 14:15:07 +0100
commite0d00fb7dad47a99b61db075747fe0d20084925f (patch)
treedc003ccbb80f0eb7279201c5e901a4e6f59e559a /internal/api
parent90bee279ffc19287ec36183384d93ce43a6223e1 (diff)
API Profiles: Check for wireguard+proxy in VPNTransportList
Diffstat (limited to 'internal/api')
-rw-r--r--internal/api/profiles/profiles.go2
1 files changed, 1 insertions, 1 deletions
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" {