mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
110765f556
When _list() is called with AF_UNSPEC family and fails to enumerate network interfaces using platform specific API, have it call _hack() twice to find out IPv4 and/or IPv6 address of a machine Tor instance is running on. This is correct way to handle this case because _hack() can only be called with AF_INET and AF_INET6 and does not support any other address family.
7 lines
333 B
Plaintext
7 lines
333 B
Plaintext
o Minor features:
|
|
- When get_interface_address6_list(.,AF_UNSPEC,.) is called and fails
|
|
to enumerate interface addresses using the platform-specific API,
|
|
have it rely on the UDP socket fallback technique to try and find
|
|
out what IP addresses (both IPv4 and IPv6) our machine has. Resolves
|
|
ticket 17951.
|