summaryrefslogtreecommitdiff
path: root/src/or/entrynodes.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-11-30 12:07:59 -0500
committerNick Mathewson <nickm@torproject.org>2017-11-30 12:07:59 -0500
commitee48eb1eb5e643cd8af2a32df3cf8c48965f6ce4 (patch)
tree077e709933fe62c7e00c8e46702e7c48deff7398 /src/or/entrynodes.c
parent500f04a74e22686f7659adecea02569b3459c71b (diff)
parent5fc0587c040339357bc3fc37f1b5474f1c3d1a33 (diff)
downloadtor-ee48eb1eb5e643cd8af2a32df3cf8c48965f6ce4.tar.gz
tor-ee48eb1eb5e643cd8af2a32df3cf8c48965f6ce4.zip
Merge branch 'maint-0.3.0' into maint-0.3.1
Diffstat (limited to 'src/or/entrynodes.c')
-rw-r--r--src/or/entrynodes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c
index 26f53cbfe9..d6cd58cedc 100644
--- a/src/or/entrynodes.c
+++ b/src/or/entrynodes.c
@@ -740,7 +740,8 @@ node_is_possible_guard(const node_t *node)
node->is_stable &&
node->is_fast &&
node->is_valid &&
- node_is_dir(node));
+ node_is_dir(node) &&
+ !router_digest_is_me(node->identity));
}
/**