Commit f5089681 authored by Roger Dingledine's avatar Roger Dingledine
Browse files

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


svn:r816
parent b5e84e24
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -258,6 +258,7 @@ int circuit_deliver_relay_cell(cell_t *cell, circuit_t *circ,
        return -1;
      }
    }
    return 0;
  }

  ++stats_n_relay_cells_relayed;
+1 −1
Original line number Diff line number Diff line
@@ -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);
  }