]> git.ipfire.org Git - thirdparty/tor.git/commit
Use preferred OR for nodes with routerstatus and microdesc too.
authorLinus Nordberg <linus@torproject.org>
Fri, 31 Aug 2012 21:02:19 +0000 (23:02 +0200)
committerNick Mathewson <nickm@torproject.org>
Tue, 4 Sep 2012 16:57:21 +0000 (12:57 -0400)
commit0f45dbefed1ddca4772bf66afb268bc20aefa1d1
treea369cb7f62e55eb6e7b93959690b07669026904a
parent7a8366a3eb7081c29cbc0ebf0e9757cbfd71a86d
Use preferred OR for nodes with routerstatus and microdesc too.

extend_info_from_node() used to use the primary OR port (i.e. IPv4)
unless the node had routerinfo. Now that we have IPv6 addresses in
microdescs we may want to use them.

Note that this patch changes using r->cache_info.identity_digest into
using node->identity. I count on these being well synchronised, or
things would break in other ways. Right?
src/or/circuitbuild.c