summaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2011-11-24 18:59:24 +0100
committerNick Mathewson <nickm@torproject.org>2011-11-30 11:55:46 -0500
commitf89c6196797a6a4b485b3a5eb8788e36eacd9819 (patch)
tree7f96e6e7351a19b59c143cd5c74f24ad850fb785 /src/or/connection.c
parentf6ce9e4ea51d1d1ae6d3eb9d5b23d28341e6dd6d (diff)
downloadtor-f89c6196797a6a4b485b3a5eb8788e36eacd9819.tar.gz
tor-f89c6196797a6a4b485b3a5eb8788e36eacd9819.zip
Use the preferred address and port when initiating a connection.
This is not as conservative as we could do it, f.ex. by looking at the connection and only do this for connections to bridges. A non-bridge should never have anything else than its primary IPv4 address set though, so I think this is safe.
Diffstat (limited to 'src/or/connection.c')
0 files changed, 0 insertions, 0 deletions