mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
92ea0b86de
It returns the method by which we decided our public IP address (explicitly configured, resolved from explicit hostname, guessed from interfaces, learned by gethostname). Now we can provide more helpful log messages when a relay guesses its IP address incorrectly (e.g. due to unexpected lines in /etc/hosts). Resolves ticket 2267. While we're at it, stop sending a stray "(null)" in some cases for the server status "EXTERNAL_ADDRESS" controller event. Resolves bug 8200.
9 lines
422 B
Plaintext
9 lines
422 B
Plaintext
o Minor features:
|
|
- Refactor resolve_my_address() so it returns the method by which we
|
|
decided our public IP address (explicitly configured, resolved from
|
|
explicit hostname, guessed from interfaces, learned by gethostname).
|
|
Now we can provide more helpful log messages when a relay guesses
|
|
its IP address incorrectly (e.g. due to unexpected lines in
|
|
/etc/hosts). Resolves ticket 2267.
|
|
|