mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 06:48:05 +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
1 changed files with 6 additions and 4 deletions
|
@ -2750,10 +2750,12 @@ routers_update_all_from_networkstatus(void)
|
||||||
have_warned_about_new_version = 1;
|
have_warned_about_new_version = 1;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
notice(LD_GENERAL, "This version of Tor (%s) is %s, according to "
|
warn(LD_GENERAL, "Please upgrade! "
|
||||||
"%d/%d recent network statuses.",
|
"This version of Tor (%s) is %s, according to "
|
||||||
VERSION, consensus == VS_OLD ? "obsolete" : "not recommended",
|
"%d/%d recent network statuses.",
|
||||||
n_recent-n_recommended, n_recent);
|
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;
|
have_warned_about_old_version = 1;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue