diff options
author | Roger Dingledine <arma@torproject.org> | 2006-03-21 23:10:26 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-03-21 23:10:26 +0000 |
commit | 5399e394a83907fb2e4f06ea6c37cbb9a8f9cb45 (patch) | |
tree | bcd75899e4bb78154bcadc81e9b9719215ff4ece | |
parent | f11509e494b3e0b36b02d0f5d7359a12dcb5df97 (diff) | |
download | tor-5399e394a83907fb2e4f06ea6c37cbb9a8f9cb45.tar.gz tor-5399e394a83907fb2e4f06ea6c37cbb9a8f9cb45.zip |
and dirservers don't call you a guard if you're running a
buggy version either.
svn:r6216
-rw-r--r-- | src/or/dirserv.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 491ca2298b..800f483458 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -1424,7 +1424,9 @@ generate_v2_networkstatus(void) int f_named = naming && ri->is_named; int f_valid = ri->is_valid; int f_guard = f_fast && f_stable && - ri->bandwidthcapacity > guard_bandwidth; + ri->bandwidthcapacity > guard_bandwidth && + (!tor_version_as_new_as(ri->platform,"0.1.1.10-alpha") || + tor_version_as_new_as(ri->platform,"0.1.1.16-rc-cvs")); /* 0.1.1.9-alpha is the first version to support fetch by descriptor * hash. */ int f_v2_dir = ri->dir_port && |