diff options
author | Mike Perry <mikeperry-git@torproject.org> | 2018-10-23 21:02:31 +0000 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2019-01-02 15:25:55 +0200 |
commit | 8ad497bb578b13c66489843905764a60545e6388 (patch) | |
tree | d0ec9e5259c5beb6d882f461f5506c83df009018 /src/feature/nodelist/nodelist.c | |
parent | a336d816a68e5eaddd9d80f7179699274b367a1d (diff) | |
download | tor-8ad497bb578b13c66489843905764a60545e6388.tar.gz tor-8ad497bb578b13c66489843905764a60545e6388.zip |
Config option to specify specific MiddleNodes.
Hope is this will make it easier to test on the live tor network.
Does not need to be merged if we don't want to, but will come in handy
for researchers.
Co-authored-by: George Kadianakis <desnacked@riseup.net>
Diffstat (limited to 'src/feature/nodelist/nodelist.c')
-rw-r--r-- | src/feature/nodelist/nodelist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/nodelist/nodelist.c b/src/feature/nodelist/nodelist.c index 15b3f7b600..33601fe1fa 100644 --- a/src/feature/nodelist/nodelist.c +++ b/src/feature/nodelist/nodelist.c @@ -2350,7 +2350,7 @@ compute_frac_paths_available(const networkstatus_t *consensus, const int authdir = authdir_mode_v3(options); count_usable_descriptors(num_present_out, num_usable_out, - mid, consensus, now, NULL, + mid, consensus, now, options->MiddleNodes, USABLE_DESCRIPTOR_ALL); log_debug(LD_NET, "%s: %d present, %d usable", |