summaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-05-29 02:29:35 +0000
committerNick Mathewson <nickm@torproject.org>2008-05-29 02:29:35 +0000
commitac330d9ba72c2379372682216b329f384dbe30fe (patch)
tree35a3f7992afe4d4007d3aca45b2819bb70de2dbc /src/or/connection_or.c
parent6e68c23de74e613fb06cb4412c854845e46bed43 (diff)
downloadtor-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/connection_or.c')
-rw-r--r--src/or/connection_or.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index 6c44840862..cdc71bbd89 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -901,7 +901,7 @@ connection_or_set_state_open(or_connection_t *conn)
} else {
/* only report it to the geoip module if it's not a known router */
if (!router_get_by_digest(conn->identity_digest))
- geoip_note_client_seen(TO_CONN(conn)->addr, now);
+ geoip_note_client_seen(GEOIP_CLIENT_CONNECT, TO_CONN(conn)->addr, now);
}
if (conn->handshake_state) {
or_handshake_state_free(conn->handshake_state);