Update dependencies
This commit is contained in:
4
vendor/tailscale.com/ipn/ipnauth/ipnauth_notwindows.go
generated
vendored
4
vendor/tailscale.com/ipn/ipnauth/ipnauth_notwindows.go
generated
vendored
@@ -18,7 +18,9 @@ import (
|
||||
func GetConnIdentity(_ logger.Logf, c net.Conn) (ci *ConnIdentity, err error) {
|
||||
ci = &ConnIdentity{conn: c, notWindows: true}
|
||||
_, ci.isUnixSock = c.(*net.UnixConn)
|
||||
ci.creds, _ = peercred.Get(c)
|
||||
if ci.creds, _ = peercred.Get(c); ci.creds != nil {
|
||||
ci.pid, _ = ci.creds.PID()
|
||||
}
|
||||
return ci, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user