summaryrefslogtreecommitdiff
path: root/state.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-09-06 12:53:56 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-09-06 12:53:56 +0200
commit0d00fec9154bfd3f4dffb3d017d7c3eb795e4332 (patch)
treeb28faa882644408b0fc5faed4f9fb259cb4dd49b /state.go
parentb9d680d1450448cacefd1ff4277c1a6ad875df8c (diff)
State + Discovery: Save the discovery data in the config JSON
Diffstat (limited to 'state.go')
-rw-r--r--state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/state.go b/state.go
index 53324c4..55c3ec1 100644
--- a/state.go
+++ b/state.go
@@ -21,7 +21,7 @@ type VPNState struct {
Servers server.Servers `json:"servers"`
// The list of servers and organizations from disco
- Discovery discovery.Discovery `json:"-"`
+ Discovery discovery.Discovery `json:"discovery"`
// The fsm
FSM fsm.FSM `json:"-"`