diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-05-29 02:29:35 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-05-29 02:29:35 +0000 |
commit | ac330d9ba72c2379372682216b329f384dbe30fe (patch) | |
tree | 35a3f7992afe4d4007d3aca45b2819bb70de2dbc /src/or/router.c | |
parent | 6e68c23de74e613fb06cb4412c854845e46bed43 (diff) | |
download | tor-ac330d9ba72c2379372682216b329f384dbe30fe.tar.gz tor-ac330d9ba72c2379372682216b329f384dbe30fe.zip |
New code to implement proposal for local geoip stats. Only enabled with --enable-geoip-stats passed to configure.
svn:r14802
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c index 8f2bf65482..972bd8525b 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -1830,7 +1830,7 @@ extrainfo_dump_to_string(char *s, size_t maxlen, extrainfo_t *extrainfo, geoip_remove_old_clients(now-48*60*60); last_purged_at = now; } - geoip_summary = geoip_get_client_history(time(NULL)); + geoip_summary = geoip_get_client_history(time(NULL), GEOIP_CLIENT_CONNECT); if (geoip_summary) { char geoip_start[ISO_TIME_LEN+1]; format_iso_time(geoip_start, geoip_get_history_start()); |