HomeFreeBSD

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

Description

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

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.

Reviewed by: mav, asomers
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D48596

Details

Provenance
jhbAuthored on Fri, Jan 24, 2:52 PM
Reviewer
mav
Differential Revision
D48596: ctld: Factor our code to setup a listening socket into a separate function
Parents
rG78cd9f0c0941: ctld: Use bool in uclparse.c
Branches
Unknown
Tags
Unknown