Skip to content
Snippets Groups Projects
Commit 0f45dbef authored by Linus Nordberg's avatar Linus Nordberg Committed by Nick Mathewson
Browse files

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?
parent 7a8366a3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment