bugfix: if you recognize a relay cell, don't also pass it on.

svn:r816
This commit is contained in:
Roger Dingledine 2003-11-16 17:31:19 +00:00
parent b5e84e24ae
commit f5089681f7
2 changed files with 2 additions and 1 deletions

View File

@ -258,6 +258,7 @@ int circuit_deliver_relay_cell(cell_t *cell, circuit_t *circ,
return -1;
}
}
return 0;
}
++stats_n_relay_cells_relayed;

View File

@ -200,7 +200,7 @@ static void command_process_destroy_cell(cell_t *cell, connection_t *conn) {
return;
}
log_fn(LOG_DEBUG,"Received for circIDD %d.",cell->circ_id);
log_fn(LOG_DEBUG,"Received for circID %d.",cell->circ_id);
if(circ->state == CIRCUIT_STATE_ONIONSKIN_PENDING) {
onion_pending_remove(circ);
}