summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes/string-for-measure-timeout-circs4
-rw-r--r--src/or/circuitlist.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/changes/string-for-measure-timeout-circs b/changes/string-for-measure-timeout-circs
new file mode 100644
index 0000000000..39e7f96162
--- /dev/null
+++ b/changes/string-for-measure-timeout-circs
@@ -0,0 +1,4 @@
+ o Minor bugfixes:
+ - When the controller is reporting the purpose of circuits that
+ didn't finish building before the circuit build timeout, it was
+ printing UNKNOWN_13. Now print EXPIRED. Bugfix on 0.2.2.14-alpha.
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c
index d71d6a21b0..e18e892661 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -352,6 +352,8 @@ circuit_purpose_to_controller_string(uint8_t purpose)
case CIRCUIT_PURPOSE_TESTING:
return "TESTING";
+ case CIRCUIT_PURPOSE_C_MEASURE_TIMEOUT:
+ return "EXPIRED";
case CIRCUIT_PURPOSE_CONTROLLER:
return "CONTROLLER";