mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-06 20:13:56 +09:00
safesocket: add FreeBSD to PlatformUsesPeerCreds
FreeBSD is supported by peercred now. Signed-off-by: Denton Gentry <dgentry@tailscale.com>
This commit is contained in:
1 parent
6756f20632
commit
524fb2c190
1 file changed
+1
-1
@@ -70,7 +70,7 @@ func LocalTCPPortAndToken() (port int, token string, err error) {
|
||||
// to authenticate connections.
|
||||
func PlatformUsesPeerCreds() bool {
|
||||
switch runtime.GOOS {
|
||||
case "linux", "darwin":
|
||||
case "linux", "darwin", "freebsd":
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
||||
Reference in new issue
Block a user