summaryrefslogtreecommitdiff
path: root/state.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-05-10 11:53:08 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-05-10 11:53:08 +0200
commit9e3e7f22892c3504e6de9827af0fabd9b4b098ea (patch)
tree0d16b63dae17f73bccfe720d9c03c25166856497 /state.go
parent113de64ac73f529af14da3e0aff12b05c2edd3a7 (diff)
API/Server: Correctly handle multiple protocol preference
Diffstat (limited to 'state.go')
-rw-r--r--state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/state.go b/state.go
index 7f383d9..64146c8 100644
--- a/state.go
+++ b/state.go
@@ -134,7 +134,7 @@ func (state *VPNState) getConfigWithOptions(url string, isSecureInternet bool, f
state.FSM.GoTransition(internal.REQUEST_CONFIG)
- config, configErr := internal.GetConfig(server)
+ config, configErr := internal.GetConfig(server, forceTCP)
if configErr != nil {
// Go back to no server if possible