summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/router.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 987a707984..a4782138d4 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -751,6 +751,10 @@ router_rebuild_descriptor(int force)
if (router_guess_address_from_dir_headers(&addr) < 0) {
log_info(LD_CONFIG, "No hints from directory headers either. "
"Will try again later.");
+ /* Stop trying to rebuild our descriptor every second. We'll
+ * learn that it's time to try again when server_has_changed_ip()
+ * marks it dirty. */
+ desc_clean_since = time(NULL);
return -1;
}
}