summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-02-09 10:36:49 +0000
committerRoger Dingledine <arma@torproject.org>2008-02-09 10:36:49 +0000
commitb42c9d69f0e7a432fcf5b3283850b03954a911ae (patch)
treeba977d45ee193fa24287c6328a7578ef8ce634cb /src/or/directory.c
parent509d2912dcc533ececaa9f09f96271ae57a7f275 (diff)
downloadtor-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.c2
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);
}
}