summaryrefslogtreecommitdiff
path: root/src/or/circuit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/circuit.c')
-rw-r--r--src/or/circuit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/circuit.c b/src/or/circuit.c
index a3fd62d295..9cbe660e23 100644
--- a/src/or/circuit.c
+++ b/src/or/circuit.c
@@ -805,7 +805,9 @@ int circuit_extend(cell_t *cell, circuit_t *circ) {
/* note also that this will close circuits where the onion has the same
* router twice in a row in the path. i think that's ok. -RD
*/
- log_fn(LOG_DEBUG,"Next router not connected. Closing.");
+ struct in_addr in;
+ in.s_addr = htonl(circ->n_addr);
+ log_fn(LOG_DEBUG,"Next router (%s:%d) not connected. Closing.", inet_ntoa(in), circ->n_port);
/* XXX later we should fail more gracefully here, like with a 'truncated' */
return -1;
}