mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Merge branch 'maint-0.4.5'
This commit is contained in:
commit
e6caf7d8c7
@ -2701,9 +2701,13 @@ check_descriptor_ipaddress_changed(time_t now)
|
|||||||
|
|
||||||
/* Attempt to discovery the publishable address for the family which will
|
/* Attempt to discovery the publishable address for the family which will
|
||||||
* actively attempt to discover the address if we are configured with a
|
* actively attempt to discover the address if we are configured with a
|
||||||
* port for the family. */
|
* port for the family.
|
||||||
relay_find_addr_to_publish(get_options(), family, RELAY_FIND_ADDR_NO_FLAG,
|
*
|
||||||
¤t);
|
* It is OK to ignore the returned value here since in the failure case,
|
||||||
|
* that is the address was not found, the current value is set to UNSPEC.
|
||||||
|
* Add this (void) so Coverity is happy. */
|
||||||
|
(void) relay_find_addr_to_publish(get_options(), family,
|
||||||
|
RELAY_FIND_ADDR_NO_FLAG, ¤t);
|
||||||
|
|
||||||
/* The "current" address might be UNSPEC meaning it was not discovered nor
|
/* The "current" address might be UNSPEC meaning it was not discovered nor
|
||||||
* found in our current cache. If we had an address before and we have
|
* found in our current cache. If we had an address before and we have
|
||||||
|
Loading…
Reference in New Issue
Block a user