summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-06-13 14:13:38 +0200
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2023-09-25 09:43:37 +0200
commitaeb1f4bcbfebb00ee02564d7ba66f010cf247432 (patch)
tree9dcb405524b6618343f1bcb28e9f8e2981e93d65 /client
parent496b4ef7a52c53618e3861dddfefe036e9ea2971 (diff)
Client FSM: Allow self-transition to No Server
Diffstat (limited to 'client')
-rw-r--r--client/fsm.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/fsm.go b/client/fsm.go
index 0ae5ca2..dbaa0f9 100644
--- a/client/fsm.go
+++ b/client/fsm.go
@@ -107,6 +107,7 @@ func newFSM(
},
StateNoServer: FSMState{
Transitions: []FSMTransition{
+ {To: StateNoServer, Description: "Reload list"},
{To: StateAskLocation, Description: "The client wants to ask for a location on the main screen"},
{To: StateLoadingServer, Description: "User clicks a server in the UI"},
{To: StateConnected, Description: "The VPN is still active"},