diff options
author | Roger Dingledine <arma@torproject.org> | 2006-06-07 07:11:42 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-06-07 07:11:42 +0000 |
commit | 1e9b35aee33b9b5cb31debd76d7feec378b3d039 (patch) | |
tree | dbc5e55016be31ebee02796a1520dfd6e3e871b6 /src/or/circuitbuild.c | |
parent | 003561fa64615ce9d68d5f3c9f7a6d95768b4158 (diff) | |
download | tor-1e9b35aee33b9b5cb31debd76d7feec378b3d039.tar tor-1e9b35aee33b9b5cb31debd76d7feec378b3d039.tar.gz |
make connection_or_nonopen_was_started_here() based on something less
voodooey. it turns out we already do keep a flag like that around.
svn:r6560
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 00571a5a6..d04784112 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -976,7 +976,7 @@ onionskin_answer(circuit_t *circ, uint8_t cell_type, char *payload, char *keys) log_debug(LD_CIRC,"Finished sending 'created' cell."); if (!is_local_IP(circ->p_conn->addr) && - tor_tls_is_server(circ->p_conn->tls)) { + !connection_or_nonopen_was_started_here(circ->p_conn)) { /* record that we could process create cells from a non-local conn * that we didn't initiate; presumably this means that create cells * can reach us too. */ |