diff options
author | Linus Nordberg <linus@torproject.org> | 2012-08-31 23:02:19 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-09-04 12:57:21 -0400 |
commit | 0f45dbefed1ddca4772bf66afb268bc20aefa1d1 (patch) | |
tree | a369cb7f62e55eb6e7b93959690b07669026904a /src/or/nodelist.c | |
parent | 7a8366a3eb7081c29cbc0ebf0e9757cbfd71a86d (diff) | |
download | tor-0f45dbefed1ddca4772bf66afb268bc20aefa1d1.tar tor-0f45dbefed1ddca4772bf66afb268bc20aefa1d1.tar.gz |
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?
Diffstat (limited to 'src/or/nodelist.c')
0 files changed, 0 insertions, 0 deletions