diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-04-18 13:23:44 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-04-18 13:23:44 -0400 |
commit | fd9961d220504f81204ab5ad0204cfec8abdb75e (patch) | |
tree | e3f098f4fa235e31af9a1f0c89a6c3569aaedfe0 /src/or/circuitbuild.c | |
parent | 47a0c10728712cbfa3683f218b9379299b968636 (diff) | |
parent | 985deaaaf7b7397857e02206e89392e0ee101077 (diff) | |
download | tor-fd9961d220504f81204ab5ad0204cfec8abdb75e.tar.gz tor-fd9961d220504f81204ab5ad0204cfec8abdb75e.zip |
Merge remote-tracking branch 'public/bug11553_024' into bug11553_025
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r-- | src/or/circuitbuild.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index e4e811529f..550ed1cddc 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -591,7 +591,9 @@ circuit_deliver_create_cell(circuit_t *circ, const create_cell_t *create_cell, id = get_unique_circ_id_by_chan(circ->n_chan); if (!id) { - log_warn(LD_CIRC,"failed to get unique circID."); + static ratelim_t circid_warning_limit = RATELIM_INIT(9600); + log_fn_ratelim(&circid_warning_limit, LOG_WARN, LD_CIRC, + "failed to get unique circID."); return -1; } log_debug(LD_CIRC,"Chosen circID %u.", (unsigned)id); |