aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-09-28 23:57:44 +0000
committerNick Mathewson <nickm@torproject.org>2006-09-28 23:57:44 +0000
commit9988112c87bc5e4ad39880ffd2aa898e0e62e82f (patch)
tree972e8537767d5351cfcab636756a55293fd5ec86 /src/or/circuituse.c
parentbc25e87754814e1bdfa01336f0375f208e9a77fc (diff)
downloadtor-9988112c87bc5e4ad39880ffd2aa898e0e62e82f.tar.gz
tor-9988112c87bc5e4ad39880ffd2aa898e0e62e82f.zip
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
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index 310e8278fb..06e0936903 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);
}
}