diff options
author | Roger Dingledine <arma@torproject.org> | 2006-03-12 05:04:16 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-03-12 05:04:16 +0000 |
commit | a4da44c2b915b1260007082306620ccf2c3cf876 (patch) | |
tree | eb7476059863d7b59cffc167cca74202df2a8749 /src/or/or.h | |
parent | d80d5370e05e611f6edb027ccdf7da8d457cc30e (diff) | |
download | tor-a4da44c2b915b1260007082306620ccf2c3cf876.tar tor-a4da44c2b915b1260007082306620ccf2c3cf876.tar.gz |
Now do address rewriting when the controller asks us to attach
to a particular circuit too. This will let Blossom specify
"moria2.exit" without having to learn what moria2's IP address is.
It may also cause other controller authors some angst. Let us know.
svn:r6136
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h index ccc0195ae..bd9bdc013 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1758,8 +1758,8 @@ int address_is_in_virtual_range(const char *addr); const char *addressmap_register_virtual_address(int type, char *new_address); void addressmap_get_mappings(smartlist_t *sl, time_t min_expires, time_t max_expires); -int -connection_ap_handshake_rewrite_and_attach(connection_t *conn); +int connection_ap_handshake_rewrite_and_attach(connection_t *conn, + circuit_t *circ); void parse_socks_policy(void); void free_socks_policy(void); |