diff options
author | Roger Dingledine <arma@torproject.org> | 2004-12-17 23:17:00 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-12-17 23:17:00 +0000 |
commit | 308ffa8a050c7f784040899b62cedcdb490aa455 (patch) | |
tree | 13113ca105db6cbb3ade348477c5d5c023d2b3a4 /src/or/circuitbuild.c | |
parent | 1a946d0efd32d10d0ed9f661e72acaf8de1d15ac (diff) | |
download | tor-308ffa8a050c7f784040899b62cedcdb490aa455.tar tor-308ffa8a050c7f784040899b62cedcdb490aa455.tar.gz |
When listing circuits that are pending on an opening OR connection,
if we're an OR we were listing circuits that *end* at us as
being pending on every listener, dns/cpu worker, etc. Stop that.
svn:r3171
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r-- | src/or/circuitbuild.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index 3f5fe5922..103b5888b 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -216,7 +216,7 @@ void circuit_dump_by_conn(connection_t *conn, int severity) { circ->n_circ_id, circ->p_circ_id); } } - if (!circ->n_conn && + if (!circ->n_conn && circ->n_addr && circ->n_port && circ->n_addr == conn->addr && circ->n_port == conn->port && !memcmp(conn->identity_digest, circ->n_conn_id_digest, DIGEST_LEN)) { |