mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
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:
parent
52737a5e6d
commit
2eabf190e9
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user