summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-03-14 12:06:03 -0400
committerNick Mathewson <nickm@torproject.org>2013-03-14 12:06:03 -0400
commit653b09e1ec27bc2c8676c3c1ec40264972540637 (patch)
tree76bce7755957b445eaf836e61c1a496ee8343d7f /src
parent051b1e8ac4114fb23904cdf8dead72d585904e0a (diff)
downloadtor-653b09e1ec27bc2c8676c3c1ec40264972540637.tar.gz
tor-653b09e1ec27bc2c8676c3c1ec40264972540637.zip
Make circuit_purpose_to_string handle CIRCUIT_PURPOSE_PATH_BIAS_TESTING
Diffstat (limited to 'src')
-rw-r--r--src/or/circuitlist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c
index 17e18c7603..d4c07fc82b 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -531,6 +531,9 @@ circuit_purpose_to_string(uint8_t purpose)
case CIRCUIT_PURPOSE_CONTROLLER:
return "Circuit made by controller";
+ case CIRCUIT_PURPOSE_PATH_BIAS_TESTING:
+ return "Path-bias testing circuit";
+
default:
tor_snprintf(buf, sizeof(buf), "UNKNOWN_%d", (int)purpose);
return buf;