Page MenuHomeFreeBSD

ctld: Factor our code to setup a listening socket into a separate function
ClosedPublic

Authored by jhb on Jan 22 2025, 7:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Aug 18, 10:33 PM
Unknown Object (File)
Tue, Aug 18, 9:32 AM
Unknown Object (File)
Sat, Aug 15, 2:09 AM
Unknown Object (File)
Sat, Aug 15, 2:09 AM
Unknown Object (File)
Sat, Aug 15, 2:09 AM
Unknown Object (File)
Sat, Aug 15, 2:08 AM
Unknown Object (File)
Fri, Aug 14, 10:12 AM
Unknown Object (File)
Fri, Aug 14, 9:45 AM
Subscribers

Details

Summary

While here:

  • Reuse the address family from the addrinfo structure instead of calling getsockname(2) on the socket.
  • Remove a bogus comment about the PCP option.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable