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/channel.c | |
parent | 210210f219a1773530dd117d7a48d6edc3a5e714 (diff) | |
download | tor-0ec4e5a698d248448aaf684a74fc51f31c84d313.tar.gz tor-0ec4e5a698d248448aaf684a74fc51f31c84d313.zip |
Add transport information to the GeoIP database.
Diffstat (limited to 'src/or/channel.c')
-rw-r--r-- | src/or/channel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/channel.c b/src/or/channel.c index 98c23d91ea..4b6c7e107d 100644 --- a/src/or/channel.c +++ b/src/or/channel.c @@ -2379,7 +2379,8 @@ channel_do_open_actions(channel_t *chan) /* only report it to the geoip module if it's not a known router */ if (!router_get_by_id_digest(chan->identity_digest)) { if (channel_get_addr_if_possible(chan, &remote_addr)) { - geoip_note_client_seen(GEOIP_CLIENT_CONNECT, &remote_addr, + /* XXXX 5040/4773 : Is this 'NULL' right? */ + geoip_note_client_seen(GEOIP_CLIENT_CONNECT, &remote_addr, NULL, now); } /* Otherwise the underlying transport can't tell us this, so skip it */ |