mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 15:10:48 +01:00
Merge remote branch 'sebastian/bug2496'
This commit is contained in:
commit
2eadbd41f0
1 changed files with 8 additions and 6 deletions
|
@ -1390,10 +1390,12 @@ options_act(or_options_t *old_options)
|
|||
print_notice = 1;
|
||||
} else {
|
||||
options->DirReqStatistics = 0;
|
||||
log_notice(LD_CONFIG, "Configured to measure directory request "
|
||||
"statistics, but no GeoIP database found! "
|
||||
"Please specify a GeoIP database using the "
|
||||
"GeoIPFile option!");
|
||||
/* Don't warn Tor clients, they don't use statistics */
|
||||
if (options->ORPort)
|
||||
log_notice(LD_CONFIG, "Configured to measure directory request "
|
||||
"statistics, but no GeoIP database found. "
|
||||
"Please specify a GeoIP database using the "
|
||||
"GeoIPFile option.");
|
||||
}
|
||||
}
|
||||
if ((!old_options || !old_options->EntryStatistics) &&
|
||||
|
@ -1404,9 +1406,9 @@ options_act(or_options_t *old_options)
|
|||
} else {
|
||||
options->EntryStatistics = 0;
|
||||
log_notice(LD_CONFIG, "Configured to measure entry node "
|
||||
"statistics, but no GeoIP database found! "
|
||||
"statistics, but no GeoIP database found. "
|
||||
"Please specify a GeoIP database using the "
|
||||
"GeoIPFile option!");
|
||||
"GeoIPFile option.");
|
||||
}
|
||||
}
|
||||
if ((!old_options || !old_options->ExitPortStatistics) &&
|
||||
|
|
Loading…
Add table
Reference in a new issue