浏览代码

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
Roger Dingledine 20 年之前
父节点
当前提交
2eabf190e9
共有 1 个文件被更改,包括 6 次插入4 次删除
  1. 6 4
      src/or/routerlist.c

+ 6 - 4
src/or/routerlist.c

@@ -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 {