mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Partially apply bug 891 parch from forest: check EXTEND cell address against real_addr, not addr. I have questions about the rest of the patch: see the flyspray entry.
svn:r17730
This commit is contained in:
parent
1725c0c8a5
commit
1e666bfcc1
@ -362,8 +362,8 @@ connection_good_enough_for_extend(const or_connection_t *n_conn,
|
||||
*state_out = "too old. Launching a new one.";
|
||||
*launch_out = 1;
|
||||
return 0;
|
||||
} else if (tor_addr_compare(&n_conn->_base.addr, target_addr, CMP_EXACT) &&
|
||||
! n_conn->is_canonical) {
|
||||
} else if (tor_addr_compare(&n_conn->real_addr, target_addr, CMP_EXACT)
|
||||
&& ! n_conn->is_canonical) {
|
||||
*state_out = "is not from a canonical address. Launching a new one.";
|
||||
*launch_out = 1;
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user