From: Karsten Loesing Date: Mon, 22 Jun 2009 13:00:04 +0000 (+0200) Subject: Add warning that the results of --enable-geoip-stats are different from those in... X-Git-Tag: tor-0.2.1.17-rc~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e6a1e7001b6546832661ff3608ea3358f7615bd7;p=thirdparty%2Ftor.git Add warning that the results of --enable-geoip-stats are different from those in master. --- diff --git a/src/or/config.c b/src/or/config.c index 81999516dd..b744f8faf4 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -1381,6 +1381,13 @@ options_act(or_options_t *old_options) geoip_load_file(actual_fname, options); 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. */ if (options->EntryNodes && (!old_options ||