and notify the dirserver operator whenever we do

svn:r4890
This commit is contained in:
Roger Dingledine 2005-08-31 06:18:19 +00:00
parent 711cad94ed
commit 3b6ab71929

View File

@ -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();