From 5399e394a83907fb2e4f06ea6c37cbb9a8f9cb45 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Tue, 21 Mar 2006 23:10:26 +0000 Subject: [PATCH] and dirservers don't call you a guard if you're running a buggy version either. svn:r6216 --- src/or/dirserv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 &&