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)
Wed, Feb 25, 9:36 PM
Unknown Object (File)
Wed, Feb 25, 8:12 AM
Unknown Object (File)
Tue, Feb 24, 9:52 PM
Unknown Object (File)
Sat, Feb 7, 9:21 PM
Unknown Object (File)
Sat, Feb 7, 8:40 PM
Unknown Object (File)
Jan 31 2026, 6:44 AM
Unknown Object (File)
Jan 22 2026, 10:51 PM
Unknown Object (File)
Jan 17 2026, 7:25 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