tor/changes/ticket40254
David Goulet 2e600019ea 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 <dgoulet@torproject.org>
2021-01-27 09:36:17 -05:00

5 lines
202 B
Plaintext

o Minor bugfixes (relay, configuration):
- Don't attempt to discover address (IPv4 or IPv6) if no ORPort for it can
be found in the configuration. Fixes bug 40254; bugfix on 0.4.5.1-alpha.