safesocket, ipn/ipnserver: use PeerCreds on solaris and illumos
Updates tailscale/peercred#10 Signed-off-by: Nahum Shalman <nahamu@gmail.com>
This commit is contained in:
@@ -120,7 +120,7 @@ func PlatformUsesPeerCreds() bool {
|
||||
// runtime.GOOS value instead of using the current one.
|
||||
func GOOSUsesPeerCreds(goos string) bool {
|
||||
switch goos {
|
||||
case "linux", "darwin", "freebsd":
|
||||
case "linux", "darwin", "freebsd", "solaris", "illumos":
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user