mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
and notify the dirserver operator whenever we do
svn:r4890
This commit is contained in:
parent
711cad94ed
commit
3b6ab71929
@ -924,6 +924,11 @@ router_add_to_routerlist(routerinfo_t *router, const char **msg)
|
||||
}
|
||||
unreachable = authdir &&
|
||||
dirserv_thinks_router_is_blatantly_unreachable(router, time(NULL));
|
||||
if (unreachable) {
|
||||
log_fn(LOG_WARN, "Notifying server '%s' that it's unreachable. (ContactInfo '%s', platform '%s').",
|
||||
router->nickname, router->contact_info ? router->contact_info : "",
|
||||
router->platform ? router->platform : "");
|
||||
}
|
||||
routerinfo_free(old_router);
|
||||
smartlist_set(routerlist->routers, i, router);
|
||||
directory_set_dirty();
|
||||
|
Loading…
Reference in New Issue
Block a user