diff options
author | Alexander Færøy <ahf@torproject.org> | 2021-02-22 20:52:44 +0000 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2021-02-22 20:52:44 +0000 |
commit | 83ab6adb10d4e6e10eccbbb65120d3e9f1a675f6 (patch) | |
tree | 14e9baa71331ca13ee1fa1c0f1cb938c7ac1c8eb /src/feature | |
parent | 890780054975e0c5eb95b097deb6fac53640f66d (diff) | |
parent | 45113b648b413989ca82d2c3be6afae1699cae43 (diff) | |
download | tor-83ab6adb10d4e6e10eccbbb65120d3e9f1a675f6.tar.gz tor-83ab6adb10d4e6e10eccbbb65120d3e9f1a675f6.zip |
Merge remote-tracking branch 'tor-gitlab/mr/276'
Diffstat (limited to 'src/feature')
-rw-r--r-- | src/feature/stats/geoip_stats.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/stats/geoip_stats.c b/src/feature/stats/geoip_stats.c index a733653dde..aa9f91c136 100644 --- a/src/feature/stats/geoip_stats.c +++ b/src/feature/stats/geoip_stats.c @@ -196,6 +196,8 @@ clientmap_entry_new(geoip_client_action_t action, const tor_addr_t *addr, if (transport_name) { entry->transport_name = tor_strdup(transport_name); } + /* Initialize the DoS object. */ + dos_geoip_entry_init(entry); /* Allocated and initialized, note down its size for the OOM handler. */ geoip_increment_client_history_cache_size(clientmap_entry_size(entry)); |