mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Add warning that the results of --enable-geoip-stats are different from those in master.
This commit is contained in:
parent
9b02ff9564
commit
e6a1e7001b
@ -1381,6 +1381,13 @@ options_act(or_options_t *old_options)
|
|||||||
geoip_load_file(actual_fname, options);
|
geoip_load_file(actual_fname, options);
|
||||||
tor_free(actual_fname);
|
tor_free(actual_fname);
|
||||||
}
|
}
|
||||||
|
#ifdef ENABLE_GEOIP_STATS
|
||||||
|
log_warn(LD_CONFIG, "We are configured to measure GeoIP statistics, but "
|
||||||
|
"the way these statistics are measured has changed "
|
||||||
|
"significantly in later versions of Tor. The results may not be "
|
||||||
|
"as expected if you are used to later versions. Be sure you "
|
||||||
|
"know what you are doing.");
|
||||||
|
#endif
|
||||||
/* Check if we need to parse and add the EntryNodes config option. */
|
/* Check if we need to parse and add the EntryNodes config option. */
|
||||||
if (options->EntryNodes &&
|
if (options->EntryNodes &&
|
||||||
(!old_options ||
|
(!old_options ||
|
||||||
|
Loading…
Reference in New Issue
Block a user