tailcfg: include ShieldsUp in HostInfo

This commit is contained in:
Sonia Appasamy
2020-11-24 10:51:13 -05:00
committed by GitHub
parent aa9d7f4665
commit 0710fca0cd
5 changed files with 6 additions and 3 deletions
+1
View File
@@ -294,6 +294,7 @@ type Hostinfo struct {
OSVersion string `json:",omitempty"` // operating system version, with optional distro prefix ("Debian 10.4", "Windows 10 Pro 10.0.19041")
DeviceModel string `json:",omitempty"` // mobile phone model ("Pixel 3a", "iPhone 11 Pro")
Hostname string // name of the host the client runs on
ShieldsUp bool `json:",omitempty"` // indicates whether the host is blocking incoming connections
GoArch string `json:",omitempty"` // the host's GOARCH value (of the running binary)
RoutableIPs []wgcfg.CIDR `json:",omitempty"` // set of IP ranges this client can route
RequestTags []string `json:",omitempty"` // set of ACL tags this node wants to claim