diff options
author | David Goulet <dgoulet@torproject.org> | 2021-01-22 10:35:32 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2021-01-27 09:36:17 -0500 |
commit | 2e600019ea32277525c46809244491970869b084 (patch) | |
tree | 6e107a6804a11f54ec339074206d52f4f7b7fea1 /changes/ticket40254 | |
parent | b4220a09b71a924e423798c4cf5001c0bdc07f89 (diff) | |
download | tor-2e600019ea32277525c46809244491970869b084.tar.gz tor-2e600019ea32277525c46809244491970869b084.zip |
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>
Diffstat (limited to 'changes/ticket40254')
-rw-r--r-- | changes/ticket40254 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/ticket40254 b/changes/ticket40254 new file mode 100644 index 0000000000..9945e3d3b8 --- /dev/null +++ b/changes/ticket40254 @@ -0,0 +1,4 @@ + 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. + |