mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
Merge remote branch 'origin/maint-0.2.2'
This commit is contained in:
commit
bbadf07d16
6
changes/bug2097-more
Normal file
6
changes/bug2097-more
Normal file
@ -0,0 +1,6 @@
|
||||
o Minor bugfixes:
|
||||
- Fix a logic error in directory_fetches_from_authorities that
|
||||
would cause all _non_-exits refusing single-hop-like circuits to
|
||||
fetch from authorities, when we wanted to have _exits_ fetch
|
||||
from authorities. Fix by boboper; fixes more of 2097; bugfix on
|
||||
0.2.2.16-alpha.
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user