aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2014-02-08 11:02:27 +0100
committerKarsten Loesing <karsten.loesing@gmx.net>2014-02-08 11:02:27 +0100
commitebe7e22045327d2352c1a7582759d46e966d69e0 (patch)
tree10bd233d3512971d1a20208483c999d1da4fd3d3
parenta0577aacb4a94e803b4d9ec266e969f1aa5a88f3 (diff)
downloadtor-ebe7e22045327d2352c1a7582759d46e966d69e0.tar
tor-ebe7e22045327d2352c1a7582759d46e966d69e0.tar.gz
Suppress warning in networks with only 1 dirauth.
-rw-r--r--src/or/directory.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index ec1e776f0..fd4e79638 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -287,8 +287,12 @@ directory_post_to_dirservers(uint8_t dir_purpose, uint8_t router_purpose,
if ((type & ds->type) == 0)
continue;
- if (exclude_self && router_digest_is_me(ds->digest))
+ if (exclude_self && router_digest_is_me(ds->digest)) {
+ /* we don't upload to ourselves, but at least there's now at least
+ * one authority of this type that has what we wanted to upload. */
+ found = 1;
continue;
+ }
if (options->StrictNodes &&
routerset_contains_routerstatus(options->ExcludeNodes, rs, -1)) {