diff options
Diffstat (limited to 'src/or/connection_ap.c')
-rw-r--r-- | src/or/connection_ap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_ap.c b/src/or/connection_ap.c index 666dd16cb4..0cb1d5314e 100644 --- a/src/or/connection_ap.c +++ b/src/or/connection_ap.c @@ -202,7 +202,7 @@ int ap_handshake_establish_circuit(connection_t *conn, unsigned int *route, int log(LOG_DEBUG,"ap_handshake_establish_circuit(): Looking for firsthop '%s:%u'", firsthop->address,ntohs(firsthop->or_port)); - n_conn = connection_get_by_addr_port(firsthop->addr,firsthop->or_port); + n_conn = connection_twin_get_by_addr_port(firsthop->addr,firsthop->or_port); if(!n_conn) { /* not currently connected */ if(global_role & ROLE_OR_CONNECT_ALL) { /* we would be connected if he were up. but he's not. */ log(LOG_DEBUG,"ap_handshake_establish_circuit(): Route's firsthop isn't connected."); |