summaryrefslogtreecommitdiff
path: root/internal/api/profiles
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-02-19 14:06:17 +0100
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2024-02-19 14:15:07 +0100
commit2fcca7427bc0efdecd33f497574bf2cbeafb8d2d (patch)
tree448e60d5d3c7bb26ef5c2a900f4771a3ff175ae6 /internal/api/profiles
parent3b83e6157ec32e8f4dbfa6f0e49f568c29e99167 (diff)
API: Switch back to wireguard+tcp instead of wireguard+proxy
Diffstat (limited to 'internal/api/profiles')
-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 0151d8c..d31bbcc 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+proxy" {
+ if c == "wireguard+tcp" {
return true
}
if c == "openvpn+tcp" {