summaryrefslogtreecommitdiff
path: root/types
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-03-12 16:29:39 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2024-03-12 16:29:39 +0100
commite604b1e1424edff72f4f0e7f447e66ffee850110 (patch)
tree577978b86fb7afa71e147eee22b42d4897229fec /types
parentbe1919723e8e5d5381934945077e0af53dbffa23 (diff)
Profiles + Server: Also expose default gateway settings in profile
Diffstat (limited to 'types')
-rw-r--r--types/server/server.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/types/server/server.go b/types/server/server.go
index 260d328..1d55ea7 100644
--- a/types/server/server.go
+++ b/types/server/server.go
@@ -86,6 +86,9 @@ type Profile struct {
// E.g. {"en": "Default Profile"}
// If this is empty, the field is omitted from the JSON
DisplayName map[string]string `json:"display_name,omitempty"`
+
+ // DefaultGateway is true when the profile is a default gateway one
+ DefaultGateway bool `json:"default_gateway"`
}
// Profiles is the map of profiles with the current defined