summaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2012-12-11 17:49:12 -0800
committerMike Perry <mikeperry-git@fscked.org>2012-12-11 17:49:12 -0800
commitccaeef22e168af34e9b6a63d65ce17e58dd702e2 (patch)
tree114633471fe0c31b9687c2de69a16d21d109a2c3 /src/or/circuitbuild.c
parentaf9011f82430a5fac0a6db368f1afb1aa4bbc9f6 (diff)
downloadtor-ccaeef22e168af34e9b6a63d65ce17e58dd702e2.tar.gz
tor-ccaeef22e168af34e9b6a63d65ce17e58dd702e2.zip
Tags on relay cells can result in certain reason codes.
Close the circuit (it's probably junk anyways), and make sure we don't probe it/count it as a success.
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r--src/or/circuitbuild.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 3e2568cb13..f93b04f579 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -1140,6 +1140,8 @@ pathbias_state_to_string(path_state_t state)
return "build succeeded";
case PATH_STATE_USE_SUCCEEDED:
return "use succeeded";
+ case PATH_STATE_USE_FAILED:
+ return "use failed";
}
return "unknown";