From 431b33a2ca5622202c6d208d644ea1c250f4134f Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 21 Sep 2004 16:44:20 +0000 Subject: Warn the user when we mark ourself as down. svn:r2356 --- src/or/routerlist.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/or/routerlist.c') diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 86d11c09eb..4e58de20c0 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -581,6 +581,8 @@ void 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 %s as down.",router->nickname); + if (router_is_me(router)) + log_fn(LOG_WARN, "We just marked ourself as down."); router->is_running = 0; router->status_set_at = time(NULL); } -- cgit v1.2.3-54-g00ecf