summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-05-09 14:18:23 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-05-09 14:18:23 +0200
commit1ef27cc47ad56a2c66aaa40e398a0063be2573d4 (patch)
treefff365577d82274f2b05878e702238b8a575c5c8 /cmd
parentfd0753c5463b4c54d09712336301e174f05e05ab (diff)
FSM/State: Profile correctness and connect name change
Also add a force tcp flag
Diffstat (limited to 'cmd')
-rw-r--r--cmd/cli/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/cli/main.go b/cmd/cli/main.go
index 5bdbd8d..10a4b29 100644
--- a/cmd/cli/main.go
+++ b/cmd/cli/main.go
@@ -94,9 +94,9 @@ func getConfig(url string, isInstitute bool) (string, error) {
defer state.Deregister()
if isInstitute {
- return state.ConnectInstituteAccess(url)
+ return state.GetConfigInstituteAccess(url, false)
}
- return state.ConnectSecureInternet(url)
+ return state.GetConfigSecureInternet(url, false)
}
type ServerDiscoEntry struct {