aboutsummaryrefslogtreecommitdiff
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
commitcef844d0179e7ef6721795ef1c449f5e4ed24e73 (patch)
treeaf863c7b215293d1eef3873e5d8e9a2d976e3c68 /src/or/entrynodes.c
parent6c355d576354a252c642ff6f3e7781580c007c48 (diff)
parentfd73a168ca5bf8ea6a0fa01878dd16d356d14cfa (diff)
downloadtor-cef844d0179e7ef6721795ef1c449f5e4ed24e73.tar.gz
tor-cef844d0179e7ef6721795ef1c449f5e4ed24e73.zip
Merge branch '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 21505ed13a..f9438361f0 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));
}
/**