aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/relay.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2023-01-25 14:10:20 -0500
committerDavid Goulet <dgoulet@torproject.org>2023-01-25 14:10:20 -0500
commitbff6d7a944338a4f18f912dc977a33ef2416fb03 (patch)
treef06a0c8b18ac2ea428c38dfe358e53e36d9d1c5b /src/core/or/relay.c
parentfa2face3b592d8e09068b64803ee4974921429bc (diff)
downloadtor-bff6d7a944338a4f18f912dc977a33ef2416fb03.tar.gz
tor-bff6d7a944338a4f18f912dc977a33ef2416fb03.zip
relay: Use the right max queue size value in log
Fixes #40745 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/core/or/relay.c')
-rw-r--r--src/core/or/relay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/or/relay.c b/src/core/or/relay.c
index 39a7b783ab..d4df8ff7f5 100644
--- a/src/core/or/relay.c
+++ b/src/core/or/relay.c
@@ -3261,7 +3261,7 @@ append_cell_to_circuit_queue(circuit_t *circ, channel_t *chan,
"%s circuit has %d cells in its queue, maximum allowed is %d. "
"Closing circuit for safety reasons.",
(exitward) ? "Outbound" : "Inbound", queue->n,
- max_circuit_cell_queue_size);
+ max_queue_size);
circuit_mark_for_close(circ, END_CIRC_REASON_RESOURCELIMIT);
stats_n_circ_max_cell_reached++;
return;