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
commitfd73a168ca5bf8ea6a0fa01878dd16d356d14cfa (patch)
tree1bb4b3739bd2db84ca5bc5752b7eb833c83964eb /src/or/entrynodes.c
parent25d50decb275854c312c8ee4ce5fd7e3f2945e5c (diff)
parentee48eb1eb5e643cd8af2a32df3cf8c48965f6ce4 (diff)
downloadtor-fd73a168ca5bf8ea6a0fa01878dd16d356d14cfa.tar.gz
tor-fd73a168ca5bf8ea6a0fa01878dd16d356d14cfa.zip
Merge branch 'maint-0.3.1' into maint-0.3.2
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 866e593350..3959da64cf 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));
}
/**