From 9e3e7f22892c3504e6de9827af0fabd9b4b098ea Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Tue, 10 May 2022 11:53:08 +0200 Subject: API/Server: Correctly handle multiple protocol preference --- state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'state.go') 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 -- cgit v1.2.3