Commit 3a1a6bb0 authored by Roger Dingledine's avatar Roger Dingledine
Browse files

if a relay cell is unrecognized at the end of the circuit,

send back a destroy


svn:r1153
parent e59f19ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -439,7 +439,7 @@ int circuit_receive_relay_cell(cell_t *cell, circuit_t *circ,

  if(!conn) {
    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.");