aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-08-25 21:16:22 +0000
committerNick Mathewson <nickm@torproject.org>2006-08-25 21:16:22 +0000
commitfd36eb07889403524d3361d15b5d008c22695952 (patch)
tree0736cbdbf611faff3bcc65ed19113f70c52b4e49 /src/or/circuituse.c
parent7739c5c49a3eb191b7c042ead52d7e9d28515672 (diff)
downloadtor-fd36eb07889403524d3361d15b5d008c22695952.tar.gz
tor-fd36eb07889403524d3361d15b5d008c22695952.zip
r8576@Kushana: nickm | 2006-08-25 17:16:01 -0400
Fix bug 314: Instead of checking address_in_virtualrange, check addressmap_have_mapping(). This should be more accurate. [Rename to addressmap_have_mapping() from addressmap_already_mapped().] svn:r8226
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index ba819de4d3..e4faee31af 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -1069,7 +1069,7 @@ consider_recording_trackhost(edge_connection_t *conn, origin_circuit_t *circ)
/* Search the addressmap for this conn's destination. */
/* If he's not in the address map.. */
if (!options->TrackHostExits ||
- addressmap_already_mapped(conn->socks_request->address))
+ addressmap_have_mapping(conn->socks_request->address))
return; /* nothing to track, or already mapped */
SMARTLIST_FOREACH(options->TrackHostExits, const char *, cp, {