From f583a28694be3ec3b99318673c6cdb6e42ee1372 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Wed, 16 Aug 2023 13:25:15 +0200 Subject: Client + Exports + Python: Add a startup boolean to getconfig To be used for autoconnect on startup. If autoconnect on startup set to true This ignores any callbacks that require user input (profile, authorization & location callbacks) --- cmd/cli/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/cli/main.go') diff --git a/cmd/cli/main.go b/cmd/cli/main.go index ca50799..826d523 100644 --- a/cmd/cli/main.go +++ b/cmd/cli/main.go @@ -147,7 +147,7 @@ func getConfig(state *client.Client, url string, srvType srvtypes.Type) (*srvtyp if err != nil { return nil, err } - return state.GetConfig(&ck, url, srvType, false) + return state.GetConfig(&ck, url, srvType, false, false) } // Get a config for a single server, Institute Access or Secure Internet. -- cgit v1.2.3