diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-02-16 15:15:06 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-02-16 15:15:06 +0000 |
commit | b13496b62adfb3ff7f44b3e9dc5d367d08309c79 (patch) | |
tree | 90e2f0a448d39508ea61b7bc1deef0cfd07c5c1b /src/or/config.c | |
parent | 2d147509d6d1d3641f371728fc79d12ca24d2284 (diff) | |
download | tor-b13496b62adfb3ff7f44b3e9dc5d367d08309c79.tar.gz tor-b13496b62adfb3ff7f44b3e9dc5d367d08309c79.zip |
Possible fix for broken country settings in ExcludeExitNodes.
It turns out that we weren't updating the _ExcludeExitNodesUnion set's
country numbers when we reloaded (or first loaded!) the IP-to-country
file. Spotted by Lark. Bugfix on 0.2.1.6-alpha.
svn:r18575
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/or/config.c b/src/or/config.c index cb624fbd63..6b89eceb5a 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -1372,17 +1372,6 @@ options_act(or_options_t *old_options) #endif geoip_load_file(actual_fname, options); tor_free(actual_fname); - - /* XXXX Would iterating through all option_var's routersets be better? */ - if (options->EntryNodes) - routerset_refresh_countries(options->EntryNodes); - if (options->ExitNodes) - routerset_refresh_countries(options->ExitNodes); - if (options->ExcludeNodes) - routerset_refresh_countries(options->ExcludeNodes); - if (options->ExcludeExitNodes) - routerset_refresh_countries(options->ExcludeExitNodes); - routerlist_refresh_countries(); } /* Check if we need to parse and add the EntryNodes config option. */ if (options->EntryNodes && |