aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/or/channel.c')
-rw-r--r--src/core/or/channel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/or/channel.c b/src/core/or/channel.c
index 0765f222c1..c163f53488 100644
--- a/src/core/or/channel.c
+++ b/src/core/or/channel.c
@@ -2447,6 +2447,9 @@ channel_get_for_extend,(const char *rsa_id_digest,
if (matches_target) {
++n_inprogress_goodaddr;
if (for_origin_circ) {
+ /* We were looking for a connection for an origin circuit; this one
+ * matches, so we'll note that we decided to use it for an origin
+ * circuit. */
channel_mark_as_used_for_origin_circuit(chan);
}
}