summaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-02-06 12:45:04 +0000
committerRoger Dingledine <arma@torproject.org>2008-02-06 12:45:04 +0000
commitbbcf406d9fe0c5a51f76e0adb37bf854091246c5 (patch)
tree33124660b7c7596c84aef1d297fb123fba15d2a4 /src/or/networkstatus.c
parente49d712b8a2a5e7fe75f6f229bc2ab6b175b82e4 (diff)
downloadtor-bbcf406d9fe0c5a51f76e0adb37bf854091246c5.tar.gz
tor-bbcf406d9fe0c5a51f76e0adb37bf854091246c5.zip
If the networkstatus consensus lists no recommended versions, don't
complain to the user and demand that they upgrade to one of "". svn:r13401
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r--src/or/networkstatus.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index 4eda1b4e0e..d1069940ca 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -1577,6 +1577,9 @@ routers_update_all_from_networkstatus(time_t now, int dir_version)
if (status == VS_RECOMMENDED) {
log_info(LD_GENERAL, "The directory authorities say my version is ok.");
+ } else if (status == VS_EMPTY) {
+ log_info(LD_GENERAL,
+ "The directory authorities don't recommend any versions.");
} else if (status == VS_NEW || status == VS_NEW_IN_SERIES) {
if (!have_warned_about_new_version) {
log_notice(LD_GENERAL, "This version of Tor (%s) is newer than any "