[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Better error msg on unknown circuit id.
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv31009/src/or
Modified Files:
command.c
Log Message:
Better error msg on unknown circuit id.
Index: command.c
===================================================================
RCS file: /home/or/cvsroot/src/or/command.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- command.c 15 Apr 2004 22:09:14 -0000 1.59
+++ command.c 26 Apr 2004 03:00:33 -0000 1.60
@@ -158,7 +158,8 @@
circ = circuit_get_by_circ_id_conn(cell->circ_id, conn);
if(!circ) {
- log_fn(LOG_INFO,"unknown circuit %d. Dropping.", cell->circ_id);
+ log_fn(LOG_INFO,"unknown circuit %d on connection to %s:%d. Dropping.",
+ cell->circ_id, conn->address, conn->port);
return;
}
@@ -189,7 +190,8 @@
circ = circuit_get_by_circ_id_conn(cell->circ_id, conn);
if(!circ) {
- log_fn(LOG_INFO,"unknown circuit %d. Dropping.", cell->circ_id);
+ log_fn(LOG_INFO,"unknown circuit %d on connection to %s:%d. Dropping.",
+ cell->circ_id, conn->address, conn->port);
return;
}