[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] bugfix: if you recognize a relay cell, don"t also pass it on.
- To: or-cvs@freehaven.net
- Subject: [or-cvs] bugfix: if you recognize a relay cell, don"t also pass it on.
- From: arma@seul.org (Roger Dingledine)
- Date: Sun, 16 Nov 2003 12:31:21 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Sun, 16 Nov 2003 12:31:41 -0500
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
circuit.c command.c
Log Message:
bugfix: if you recognize a relay cell, don't also pass it on.
Index: circuit.c
===================================================================
RCS file: /home/or/cvsroot/src/or/circuit.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- circuit.c 16 Nov 2003 17:00:02 -0000 1.93
+++ circuit.c 16 Nov 2003 17:31:19 -0000 1.94
@@ -258,6 +258,7 @@
return -1;
}
}
+ return 0;
}
++stats_n_relay_cells_relayed;
Index: command.c
===================================================================
RCS file: /home/or/cvsroot/src/or/command.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- command.c 11 Nov 2003 03:01:48 -0000 1.46
+++ command.c 16 Nov 2003 17:31:19 -0000 1.47
@@ -200,7 +200,7 @@
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);
}