diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-09-10 15:37:13 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-09-10 15:37:13 -0400 |
commit | bf71866da006820a2345d8257f208d8147707daf (patch) | |
tree | bc53b2a89919e9a9d3a15b3ee5ff1bcf889edaf9 /src/or/dirserv.c | |
parent | 4319f998283d33af61b1855b7fa287fa93113dbd (diff) | |
parent | e8b09c0d51598d079b577b3bcbcb234f82b7ca43 (diff) | |
download | tor-bf71866da006820a2345d8257f208d8147707daf.tar.gz tor-bf71866da006820a2345d8257f208d8147707daf.zip |
Merge branch 'remove_old_ver_checks'
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 7a9d6683ca..a8f2fb9de0 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -2435,8 +2435,6 @@ set_routerstatus_from_routerinfo(routerstatus_t *rs, int listbaddirs, int vote_on_hsdirs) { const or_options_t *options = get_options(); - int unstable_version = - !tor_version_as_new_as(ri->platform,"0.1.1.16-rc-cvs"); uint32_t routerbw = router_get_advertised_bandwidth(ri); memset(rs, 0, sizeof(routerstatus_t)); @@ -2448,8 +2446,7 @@ set_routerstatus_from_routerinfo(routerstatus_t *rs, rs->is_exit = node->is_exit; rs->is_stable = node->is_stable = router_is_active(ri, node, now) && - !dirserv_thinks_router_is_unreliable(now, ri, 1, 0) && - !unstable_version; + !dirserv_thinks_router_is_unreliable(now, ri, 1, 0); rs->is_fast = node->is_fast = router_is_active(ri, node, now) && !dirserv_thinks_router_is_unreliable(now, ri, 0, 1); |