Skip to content
Snippets Groups Projects
Commit b4220a09 authored by David Goulet's avatar David Goulet :panda_face: Committed by Nick Mathewson
Browse files

relay: Simplify IPv6 discovery when building descriptor


Now that relay_find_addr_to_publish() checks if we actually have an ORPort, we
can simplify the descriptor building phase for IPv6.

This also avoid triggering an IPv6 discovery if the IPv4 can't be found in the
first place.

Related to #40254

Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
parent b4f4af6e
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment