diff options
author | Roger Dingledine <arma@torproject.org> | 2008-02-09 10:36:49 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-02-09 10:36:49 +0000 |
commit | b42c9d69f0e7a432fcf5b3283850b03954a911ae (patch) | |
tree | ba977d45ee193fa24287c6328a7578ef8ce634cb /src/or/directory.c | |
parent | 509d2912dcc533ececaa9f09f96271ae57a7f275 (diff) | |
download | tor-b42c9d69f0e7a432fcf5b3283850b03954a911ae.tar.gz tor-b42c9d69f0e7a432fcf5b3283850b03954a911ae.zip |
Patch from "Andrew S. Lists" to catch when we contact a directory mirror
at IP address X and he says we look like we're coming from IP address X.
svn:r13442
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 8ca183cfe6..9dd1a81050 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -1257,7 +1257,7 @@ connection_dir_client_reached_eof(dir_connection_t *conn) if (conn->dirconn_direct) { char *guess = http_get_header(headers, X_ADDRESS_HEADER); if (guess) { - router_new_address_suggestion(guess); + router_new_address_suggestion(guess, conn); tor_free(guess); } } |