summaryrefslogtreecommitdiff
path: root/types/server
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-02-07 13:45:10 +0100
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2024-02-19 14:15:07 +0100
commitfe5f8c80298e46a6940e3ad087f559942edb4a06 (patch)
tree77d906f0bc47bbf83c7a06fe4386554ced21fecd /types/server
parent09a04c49709bc2e2429c1bfbd44ca34e22e22113 (diff)
API + Server: Support vpn_proto_transport_list
Diffstat (limited to 'types/server')
-rw-r--r--types/server/server.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/types/server/server.go b/types/server/server.go
index 5a340b1..46bbc26 100644
--- a/types/server/server.go
+++ b/types/server/server.go
@@ -175,6 +175,8 @@ type Configuration struct {
DefaultGateway bool `json:"default_gateway"`
// DNSSearchDomains are the list of dns search domains
DNSSearchDomains []string `json:"dns_search_domains,omitempty"`
+ // ShouldFailover returns whether or not the client should attempt to failover
+ ShouldFailover bool `json:"should_failover"`
// Proxy returns information for proxied VPN connections
// If this is non-nil a proxy must be started using StartProxyguard
Proxy *Proxy `json:"proxy,omitempty"`