]> git.ipfire.org Git - thirdparty/tor.git/commit
router: Refactor IPv6 ORPort function logic
authorteor <teor@torproject.org>
Wed, 8 Jan 2020 07:34:37 +0000 (17:34 +1000)
committerteor <teor@torproject.org>
Fri, 20 Mar 2020 17:43:48 +0000 (03:43 +1000)
commitbac8bc0ff11d5b4502f2e71138d23f71fc25e72a
treec9fef463f73ab238bd84d72c0384d2a12d3de4a9
parent861337fd6d286329537e07f667602992b82e921f
router: Refactor IPv6 ORPort function logic

Return early when there is no suitable IPv6 ORPort.
Show the address and port on error, using a convenience function.

Code simplification and refactoring.

Cleanup after 32588.
src/feature/relay/router.c