From b42c9d69f0e7a432fcf5b3283850b03954a911ae Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sat, 9 Feb 2008 10:36:49 +0000 Subject: 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 --- src/or/directory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/directory.c') 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); } } -- cgit v1.2.3-54-g00ecf