and dirservers don't call you a guard if you're running a

buggy version either.


svn:r6216
This commit is contained in:
Roger Dingledine 2006-03-21 23:10:26 +00:00
parent f11509e494
commit 5399e394a8

View File

@ -1424,7 +1424,9 @@ generate_v2_networkstatus(void)
int f_named = naming && ri->is_named; int f_named = naming && ri->is_named;
int f_valid = ri->is_valid; int f_valid = ri->is_valid;
int f_guard = f_fast && f_stable && 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 /* 0.1.1.9-alpha is the first version to support fetch by descriptor
* hash. */ * hash. */
int f_v2_dir = ri->dir_port && int f_v2_dir = ri->dir_port &&