summaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-12-06 11:37:37 -0500
committerNick Mathewson <nickm@torproject.org>2010-12-06 11:37:37 -0500
commitbbadf07d1697bea4d6825c9816111d0159febf58 (patch)
treeed141aaf81f064ca49ef854fc99a9b90e20eaf2c /src/or/dirserv.c
parent36d68d2301a99d20f35849f8eb877ac272d1c6ba (diff)
parentfeffbce814fcffd341abd5a07ea7a9ba1a06558c (diff)
downloadtor-bbadf07d1697bea4d6825c9816111d0159febf58.tar.gz
tor-bbadf07d1697bea4d6825c9816111d0159febf58.zip
Merge remote branch 'origin/maint-0.2.2'
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index edba9fbd8a..1e237dff04 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -1186,7 +1186,7 @@ directory_fetches_from_authorities(or_options_t *options)
return 0;
if (server_mode(options) && router_pick_published_address(options, &addr)<0)
return 1; /* we don't know our IP address; ask an authority. */
- refuseunknown = router_my_exit_policy_is_reject_star() &&
+ refuseunknown = ! router_my_exit_policy_is_reject_star() &&
should_refuse_unknown_exits(options);
if (options->DirPort == 0 && !refuseunknown)
return 0;