[create-pull-request] automated change (#70)

Co-authored-by: joshuaspence <joshuaspence@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2022-05-12 11:52:41 +10:00
committed by GitHub
parent a42eb6a918
commit 0e0a9746aa
4 changed files with 2 additions and 2 deletions

View File

@@ -140,7 +140,6 @@ type Network struct {
RequireMschapv2 bool `json:"require_mschapv2"` RequireMschapv2 bool `json:"require_mschapv2"`
RouteDistance int `json:"route_distance,omitempty"` // ^[1-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]$|^$ RouteDistance int `json:"route_distance,omitempty"` // ^[1-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]$|^$
SettingPreference string `json:"setting_preference,omitempty"` // auto|manual SettingPreference string `json:"setting_preference,omitempty"` // auto|manual
TeleportEnabled bool `json:"teleport_enabled"`
UpnpLanEnabled bool `json:"upnp_lan_enabled"` UpnpLanEnabled bool `json:"upnp_lan_enabled"`
UserGroupID string `json:"usergroup_id"` UserGroupID string `json:"usergroup_id"`
VLAN int `json:"vlan,omitempty"` // [2-9]|[1-9][0-9]{1,2}|[1-3][0-9]{3}|400[0-9]|^$ VLAN int `json:"vlan,omitempty"` // [2-9]|[1-9][0-9]{1,2}|[1-3][0-9]{3}|400[0-9]|^$

0
unifi/setting_global_ap.generated.go generated Normal file
View File

View File

@@ -27,6 +27,7 @@ type SettingTeleport struct {
Key string `json:"key"` Key string `json:"key"`
Enabled bool `json:"enabled"`
SubnetCidr string `json:"subnet_cidr"` // ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\/([8-9]|[1-2][0-9]|3[0-2])$|^$ SubnetCidr string `json:"subnet_cidr"` // ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\/([8-9]|[1-2][0-9]|3[0-2])$|^$
} }

View File

@@ -2,4 +2,4 @@
package unifi package unifi
const UnifiVersion = "7.0.25" const UnifiVersion = "7.1.61"