mirror of
https://github.com/rwinkhart/peercred-mini.git
synced 2026-09-05 16:47:25 -04:00
Update FreeBSD TODO.
Overly aggressive copy+paste from peercred_linux.go. Signed-off-by: Denton Gentry <dgentry@tailscale.com>
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ func getFreeBSD(c net.Conn) (*Creds, error) {
|
|||||||
case *net.UnixConn:
|
case *net.UnixConn:
|
||||||
return getUnix(c)
|
return getUnix(c)
|
||||||
case *net.TCPConn:
|
case *net.TCPConn:
|
||||||
// TODO: use /proc tcp info for localhost connections like Windows?
|
// TODO: use sysctl net.inet.tcp.pcblist for localhost connections like Windows?
|
||||||
}
|
}
|
||||||
return nil, ErrUnsupportedConnType
|
return nil, ErrUnsupportedConnType
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user