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/routerlist.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/routerlist.c')
-rw-r--r-- | src/feature/nodelist/routerlist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/nodelist/routerlist.c b/src/feature/nodelist/routerlist.c index b4d56459df..c8a658414b 100644 --- a/src/feature/nodelist/routerlist.c +++ b/src/feature/nodelist/routerlist.c @@ -3221,6 +3221,8 @@ refresh_all_country_info(void) routerset_refresh_countries(options->EntryNodes); if (options->ExitNodes) routerset_refresh_countries(options->ExitNodes); + if (options->MiddleNodes) + routerset_refresh_countries(options->MiddleNodes); if (options->ExcludeNodes) routerset_refresh_countries(options->ExcludeNodes); if (options->ExcludeExitNodes) |