summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/server/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/server/server.go b/internal/server/server.go
index 4b960a5..abe5178 100644
--- a/internal/server/server.go
+++ b/internal/server/server.go
@@ -154,7 +154,7 @@ func (s *Server) connect(ctx context.Context, wgSupport bool, pTCP bool) (*srvty
Protocol: apicfg.Protocol,
DefaultGateway: chosenP.DefaultGateway,
DNSSearchDomains: chosenP.DNSSearchDomains,
- ShouldFailover: chosenP.ShouldFailover(),
+ ShouldFailover: chosenP.ShouldFailover() && !pTCP,
Proxy: proxy,
}, nil
}