diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-06 12:59:17 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-06 12:59:17 +0200 |
| commit | efe37d710cbc8097b02f06e3350f0e8467a23058 (patch) | |
| tree | 86e63f57298f0af00677126330ef209b598ce713 | |
| parent | 50a2eb976314409df5d45d9b417ad5b61e7d208b (diff) | |
State: ShouldRenewButton is possible in more states
| -rw-r--r-- | state.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -598,7 +598,7 @@ func (state *VPNState) RenewSession() error { } func (state *VPNState) ShouldRenewButton() bool { - if !state.InFSMState(fsm.CONNECTED) { + if !state.InFSMState(fsm.CONNECTED) && !state.InFSMState(fsm.CONNECTING) && !state.InFSMState(fsm.HAS_CONFIG) && !state.InFSMState(fsm.DISCONNECTING) { return false } |
