diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-02-21 18:45:11 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-02-21 18:45:11 +0000 |
commit | 5c03f82a650e3986c37466197d79d85906cce671 (patch) | |
tree | e3dd766777ef56175d09c3c76e51c8535746ba46 /src/or/circuituse.c | |
parent | 6b50f5ae5d1d76f151b7f4ca6cb44cbe6dc05fc3 (diff) | |
download | tor-5c03f82a650e3986c37466197d79d85906cce671.tar tor-5c03f82a650e3986c37466197d79d85906cce671.tar.gz |
r18345@catbus: nickm | 2008-02-21 13:45:04 -0500
Do the last part of arma's fix for bug 437: Track the origin of every addrmap, and use this info so we can remove all the trackhostexits-originated mappings for a given exit.
svn:r13660
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r-- | src/or/circuituse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c index b1b65754b..e0e8350e1 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -1212,7 +1212,8 @@ consider_recording_trackhost(edge_connection_t *conn, origin_circuit_t *circ) conn->socks_request->address, fp); addressmap_register(conn->socks_request->address, new_address, - time(NULL) + options->TrackHostExitsExpire); + time(NULL) + options->TrackHostExitsExpire, + ADDRMAPSRC_TRACKEXIT); } /** Attempt to attach the connection <b>conn</b> to <b>circ</b>, and send a |