From 9988112c87bc5e4ad39880ffd2aa898e0e62e82f Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 28 Sep 2006 23:57:44 +0000 Subject: r8973@Kushana: nickm | 2006-09-28 16:53:19 -0400 Refactor entry guard status logic a lot; allow more factors [like not having a Guard flag or being listed in ExcludeNodes] to render a guard "unlisted" (now called "unusable"); track guard down status (now called "unreachable") separately from is_running. svn:r8519 --- src/or/circuituse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/circuituse.c') diff --git a/src/or/circuituse.c b/src/or/circuituse.c index 310e8278f..06e093690 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -740,7 +740,7 @@ circuit_build_failed(origin_circuit_t *circ) "(%s:%d). I'm going to try to rotate to a better connection.", n_conn->_base.address, n_conn->_base.port); n_conn->_base.or_is_obsolete = 1; - entry_guard_set_status(n_conn->identity_digest, 0); + entry_guard_register_connect_status(n_conn->identity_digest, 0); } } -- cgit v1.2.3