diff options
author | Roger Dingledine <arma@torproject.org> | 2006-10-03 05:45:58 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-10-03 05:45:58 +0000 |
commit | 246fecb585cef56af5a0c4bf08365d2d040c3c73 (patch) | |
tree | c3290c2b7254d7ae3525c973c6edfbea2db44488 /src/or/circuitbuild.c | |
parent | 4c56ac93ca800a6617123f76f52a4c3df90e594c (diff) | |
download | tor-246fecb585cef56af5a0c4bf08365d2d040c3c73.tar.gz tor-246fecb585cef56af5a0c4bf08365d2d040c3c73.zip |
the other half of the is_local_IP patch
svn:r8581
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r-- | src/or/circuitbuild.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index a8ac76e42a..f2eda22dca 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -1443,6 +1443,7 @@ compute_preferred_testing_list(const char *answer) ((tor_version_as_new_as(r->platform,"0.1.1.21-cvs") && !tor_version_as_new_as(r->platform,"0.1.2.0-alpha-cvs")) || tor_version_as_new_as(r->platform,"0.1.2.1-alpha")) && + !is_local_IP(r->addr) && !router_get_trusteddirserver_by_digest(r->cache_info.identity_digest)) smartlist_add(choices, r)); router = smartlist_choose(choices); |