diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-04-26 03:00:33 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-04-26 03:00:33 +0000 |
commit | 75dc76eb3ec6eb8e948601282809abf94ba54615 (patch) | |
tree | 68059a6d119140e5f9d8d00c449b86ab6a4d763f | |
parent | cb465160dac0e06e6d7a174fd2568fd26d655691 (diff) | |
download | tor-75dc76eb3ec6eb8e948601282809abf94ba54615.tar.gz tor-75dc76eb3ec6eb8e948601282809abf94ba54615.zip |
Better error msg on unknown circuit id.
svn:r1708
-rw-r--r-- | src/or/command.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/command.c b/src/or/command.c index 0e89b70a09..0a6ec559bb 100644 --- a/src/or/command.c +++ b/src/or/command.c @@ -158,7 +158,8 @@ static void command_process_relay_cell(cell_t *cell, connection_t *conn) { 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 @@ static void command_process_destroy_cell(cell_t *cell, connection_t *conn) { 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; } |