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

relay: Don't trigger an address discovery without an ORPort


We would before do an address discovery and then a lookup in the cache if not
found which is now simplified by calling relay_find_addr_to_publish() directly
which does all those combined.

Furthermore, by doing so, we won't trigger an address discovery every minute
if we have no ORPort configured for the family.

Fixes #40254

Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
parent b4220a09
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment