diff options
author | Roger Dingledine <arma@torproject.org> | 2004-09-27 06:00:43 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-09-27 06:00:43 +0000 |
commit | a2517b4f0777c961843f3dc65107e9d3ce6b3846 (patch) | |
tree | bb62e7bf322540a7f0db52fd38e77248e46af0ab /src/or/or.h | |
parent | a64d0933396aa2eb52e23c82d4f6ae4f6b237187 (diff) | |
download | tor-a2517b4f0777c961843f3dc65107e9d3ce6b3846.tar.gz tor-a2517b4f0777c961843f3dc65107e9d3ce6b3846.zip |
checking only 0.0.7 and 0.0.8 didn't work, because some dirservers
files have really old descriptors for the authdirservers, so we're
asking them in the new format because they're too old.
now we actually compare the version to a cutoff version, and act
appropriately.
also take this chance to use only >=0.0.8 servers for dns resolves,
because of the recent bugs. we'll bump to >=0.0.9pre1 once there are
some servers running that.
svn:r2380
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h index 04f02aba2e..c1d00d3f0e 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1461,8 +1461,8 @@ struct exit_policy_t *router_parse_exit_policy_from_string(const char *s); int check_software_version_against_directory(const char *directory, int ignoreversion); int tor_version_parse(const char *s, tor_version_t *out); +int tor_version_as_new_as(const char *platform, const char *cutoff); int tor_version_compare(tor_version_t *a, tor_version_t *b); -int tor_version_compare_to_mine(const char *s); #endif |