mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
05787423d2
Updates tailscale/corp#22332 This PR changes the way we determine the current hostname on Darwin && !iOS builds. We now use the native NSHost.currentHost API to get the hostname, instead of the os.Hostname() call which in Go uses `sysctl kern.hostname`. In Sequoia, this appears to always return `Mac.home`, (`home` comes from my LAN). Signed-off-by: Andrea Gottardo <andrea@gottardo.me> |
||
---|---|---|
.. | ||
hostinfo_darwin.go | ||
hostinfo_freebsd.go | ||
hostinfo_linux_test.go | ||
hostinfo_linux.go | ||
hostinfo_test.go | ||
hostinfo_uname.go | ||
hostinfo_windows.go | ||
hostinfo.go | ||
hostname_macos.go | ||
hostname.go | ||
packagetype_container.go | ||
wol.go |