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)
Sun, Oct 4, 8:23 AM
Unknown Object (File)
Thu, Oct 1, 8:41 AM
Unknown Object (File)
Mon, Sep 28, 10:47 PM
Unknown Object (File)
Sun, Sep 27, 10:25 PM
Unknown Object (File)
Thu, Sep 24, 3:40 PM
Unknown Object (File)
Wed, Sep 23, 6:02 AM
Unknown Object (File)
Wed, Sep 23, 6:01 AM
Unknown Object (File)
Wed, Sep 23, 6:01 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