mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
if a relay cell is unrecognized at the end of the circuit,
send back a destroy svn:r1153
This commit is contained in:
parent
e59f19ca03
commit
3a1a6bb09e
@ -439,7 +439,7 @@ int circuit_receive_relay_cell(cell_t *cell, circuit_t *circ,
|
|||||||
|
|
||||||
if(!conn) {
|
if(!conn) {
|
||||||
log_fn(LOG_WARN,"Didn't recognize cell, but circ stops here! Dropping.");
|
log_fn(LOG_WARN,"Didn't recognize cell, but circ stops here! Dropping.");
|
||||||
return 0; /* XXX if this warning never triggers, then return -1 */
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
log_fn(LOG_DEBUG,"Passing on unrecognized cell.");
|
log_fn(LOG_DEBUG,"Passing on unrecognized cell.");
|
||||||
|
Loading…
Reference in New Issue
Block a user