diff options
author | George Kadianakis <desnacked@riseup.net> | 2013-02-11 20:51:41 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-07-18 14:59:57 -0400 |
commit | 0ec4e5a698d248448aaf684a74fc51f31c84d313 (patch) | |
tree | 5ae36a8a41b8b6c5368c0ac07c80f77cb9ee496c /src/or/directory.c | |
parent | 210210f219a1773530dd117d7a48d6edc3a5e714 (diff) | |
download | tor-0ec4e5a698d248448aaf684a74fc51f31c84d313.tar.gz tor-0ec4e5a698d248448aaf684a74fc51f31c84d313.zip |
Add transport information to the GeoIP database.
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 88d6717791..97305ae2a8 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -2966,7 +2966,9 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers, tor_addr_t addr; if (tor_inet_aton((TO_CONN(conn))->address, &in)) { tor_addr_from_ipv4h(&addr, ntohl(in.s_addr)); - geoip_note_client_seen(GEOIP_CLIENT_NETWORKSTATUS, &addr, time(NULL)); + geoip_note_client_seen(GEOIP_CLIENT_NETWORKSTATUS, + &addr, NULL, + time(NULL)); geoip_note_ns_response(GEOIP_SUCCESS); /* Note that a request for a network status has started, so that we * can measure the download time later on. */ |