diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/or/geoip.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/geoip.c b/src/or/geoip.c index dc4730c810..c62fee4e90 100644 --- a/src/or/geoip.c +++ b/src/or/geoip.c @@ -554,8 +554,9 @@ geoip_note_client_seen(geoip_client_action_t action, (!(options->BridgeRelay && options->BridgeRecordUsageByCountry))) return; } else { - if (options->BridgeRelay || options->BridgeAuthoritativeDir || - !options->DirReqStatistics) + /* Only gather directory-request statistics if configured, and + * forcibly disable them on bridge authorities. */ + if (!options->DirReqStatistics || options->BridgeAuthoritativeDir) return; } |