aboutsummaryrefslogtreecommitdiff
path: root/src/or/channel.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2013-02-11 20:51:41 +0100
committerNick Mathewson <nickm@torproject.org>2013-07-18 14:59:57 -0400
commit0ec4e5a698d248448aaf684a74fc51f31c84d313 (patch)
tree5ae36a8a41b8b6c5368c0ac07c80f77cb9ee496c /src/or/channel.c
parent210210f219a1773530dd117d7a48d6edc3a5e714 (diff)
downloadtor-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.c3
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 */