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)
Sat, Sep 12, 4:55 PM
Unknown Object (File)
Sat, Sep 12, 4:55 PM
Unknown Object (File)
Fri, Sep 11, 2:47 AM
Unknown Object (File)
Thu, Sep 10, 10:55 PM
Unknown Object (File)
Thu, Sep 10, 7:30 AM
Unknown Object (File)
Wed, Sep 9, 12:24 AM
Unknown Object (File)
Tue, Sep 8, 7:51 AM
Unknown Object (File)
Tue, Sep 8, 1:06 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