tailcfg,hostinfo: add Hostinfo.Machine and Hostinfo.GoArchVar

For detecting a non-ideal binary running on the current CPU.

And for helping detect the best Synology package to update to.

Updates #6995

Change-Id: I722f806675b60ce95364471b11c388150c0d4aea
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2023-01-22 10:16:15 -08:00
committed by Brad Fitzpatrick
parent fd92fbd69e
commit 64547b2b86
6 changed files with 76 additions and 1 deletions
+2
View File
@@ -137,7 +137,9 @@ var _HostinfoCloneNeedsRegeneration = Hostinfo(struct {
ShareeNode bool
NoLogsNoSupport bool
WireIngress bool
Machine string
GoArch string
GoArchVar string
GoVersion string
RoutableIPs []netip.Prefix
RequestTags []string