[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] and notify the dirserver operator whenever we do



Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	routerlist.c 
Log Message:
and notify the dirserver operator whenever we do


Index: routerlist.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.262
retrieving revision 1.263
diff -u -d -r1.262 -r1.263
--- routerlist.c	31 Aug 2005 06:14:37 -0000	1.262
+++ routerlist.c	31 Aug 2005 06:18:19 -0000	1.263
@@ -924,6 +924,11 @@
         }
         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();