summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-08-31 06:18:19 +0000
committerRoger Dingledine <arma@torproject.org>2005-08-31 06:18:19 +0000
commit3b6ab719294df03a4711d3f887d47f39ef094bc7 (patch)
tree6b9906de37dffbee4f5af1bc7484ba96cb64f61a
parent711cad94ed8c5b11d9af62b0a28971eaf5a04d85 (diff)
downloadtor-3b6ab719294df03a4711d3f887d47f39ef094bc7.tar.gz
tor-3b6ab719294df03a4711d3f887d47f39ef094bc7.zip
and notify the dirserver operator whenever we do
svn:r4890
-rw-r--r--src/or/routerlist.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index b850133158..d765208765 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -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();