diff options
author | Nick Mathewson <nickm@torproject.org> | 2021-02-23 08:43:19 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2021-02-23 08:43:19 -0500 |
commit | 100221baac7e0c0533df009d5b65eae27af12123 (patch) | |
tree | 03fcdca93d32832786827e97465231379929384f /src/feature | |
parent | 09614e0c9db1d65c5f59c3a32c517f115b509021 (diff) | |
parent | 83ab6adb10d4e6e10eccbbb65120d3e9f1a675f6 (diff) | |
download | tor-100221baac7e0c0533df009d5b65eae27af12123.tar.gz tor-100221baac7e0c0533df009d5b65eae27af12123.zip |
Merge remote-tracking branch 'origin/master'
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)); |