mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
stop trying to hammer router_rebuild_descriptor() when we don't
have a public address we like yet. svn:r8554
This commit is contained in:
+2
-4
@@ -735,10 +735,8 @@ router_get_my_routerinfo(void)
|
||||
{
|
||||
if (!server_mode(get_options()))
|
||||
return NULL;
|
||||
|
||||
if (!desc_routerinfo || !desc_clean_since)
|
||||
if (router_rebuild_descriptor(!desc_routerinfo))
|
||||
return NULL;
|
||||
if (router_rebuild_descriptor(0))
|
||||
return NULL;
|
||||
return desc_routerinfo;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user