mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
when we're shutting down and we do something like try to post a
server descriptor or rendezvous descriptor, don't complain that we seem to be unreachable. of course we are, we're shutting down. svn:r4892
This commit is contained in:
parent
1b04f38145
commit
ba899d0648
@ -845,7 +845,7 @@ router_mark_as_down(const char *digest)
|
||||
if (!router) /* we don't seem to know about him in the first place */
|
||||
return;
|
||||
log_fn(LOG_DEBUG,"Marking router '%s' as down.",router->nickname);
|
||||
if (router_is_me(router))
|
||||
if (router_is_me(router) && !we_are_hibernating())
|
||||
log_fn(LOG_WARN, "We just marked ourself as down. Are your external addresses reachable?");
|
||||
router->is_running = 0;
|
||||
router->status_set_at = time(NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user