mirror of
https://github.com/rwinkhart/peercred-mini.git
synced 2026-08-28 04:46:43 -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:
|
||||
return getUnix(c)
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user