diff options
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r-- | src/or/circuitbuild.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index 8129437554..d55829fcae 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -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; |