aboutsummaryrefslogtreecommitdiff
path: root/src/or/nodelist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/nodelist.c')
-rw-r--r--src/or/nodelist.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/or/nodelist.c b/src/or/nodelist.c
index 8145217c2f..d1246679a5 100644
--- a/src/or/nodelist.c
+++ b/src/or/nodelist.c
@@ -605,6 +605,9 @@ node_allows_single_hop_exits(const node_t *node)
int
node_exit_policy_rejects_all(const node_t *node)
{
+ if (node->rejects_all)
+ return 1;
+
if (node->ri)
return node->ri->policy_is_reject_star;
else if (node->md)
@@ -723,8 +726,3 @@ node_get_declared_family(const node_t *node)
else
return NULL;
}
-
-/* KILLTHIS XXXX NM -- it's a dummy to keep UNIMPLEMENTED_NODELIST()
- * working */
-int unimplemented_nodelist_truth = 1;
-