mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 05:03:43 +01:00
Merge remote-tracking branch 'karsten/one-dirauth'
This commit is contained in:
commit
cb065a55bd
4
changes/bug10842
Normal file
4
changes/bug10842
Normal file
@ -0,0 +1,4 @@
|
||||
o Minor bugfixes:
|
||||
- Suppress a warning that votes and signatures cannot be uploaded to
|
||||
other directory authorities if there's only one directory authority
|
||||
in the network. Bugfix on 0.2.2.26-beta. Resolves ticket 10842.
|
@ -287,8 +287,12 @@ directory_post_to_dirservers(uint8_t dir_purpose, uint8_t router_purpose,
|
||||
if ((type & ds->type) == 0)
|
||||
continue;
|
||||
|
||||
if (exclude_self && router_digest_is_me(ds->digest))
|
||||
if (exclude_self && router_digest_is_me(ds->digest)) {
|
||||
/* we don't upload to ourselves, but at least there's now at least
|
||||
* one authority of this type that has what we wanted to upload. */
|
||||
found = 1;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (options->StrictNodes &&
|
||||
routerset_contains_routerstatus(options->ExcludeNodes, rs, -1)) {
|
||||
|
Loading…
Reference in New Issue
Block a user