make it louder when we're running an unrecommended version.

also, we need to tell them what versions *are* recommended.
i'll add that to the todo.


svn:r5859
This commit is contained in:
Roger Dingledine 2006-01-24 03:45:58 +00:00
parent 52737a5e6d
commit 2eabf190e9

View File

@ -2750,10 +2750,12 @@ routers_update_all_from_networkstatus(void)
have_warned_about_new_version = 1;
}
} else {
notice(LD_GENERAL, "This version of Tor (%s) is %s, according to "
"%d/%d recent network statuses.",
VERSION, consensus == VS_OLD ? "obsolete" : "not recommended",
n_recent-n_recommended, n_recent);
warn(LD_GENERAL, "Please upgrade! "
"This version of Tor (%s) is %s, according to "
"%d/%d recent network statuses.",
VERSION, consensus == VS_OLD ? "obsolete" : "not recommended",
n_recent-n_recommended, n_recent);
/* XXX011 we need to tell them what versions *are* recommended! */
have_warned_about_old_version = 1;
}
} else {