]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Make circuit_purpose_to_string handle CIRCUIT_PURPOSE_PATH_BIAS_TESTING
authorNick Mathewson <nickm@torproject.org>
Thu, 14 Mar 2013 16:06:03 +0000 (12:06 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 14 Mar 2013 16:06:03 +0000 (12:06 -0400)
changes/bug8477-easypart [new file with mode: 0644]
src/or/circuitlist.c

diff --git a/changes/bug8477-easypart b/changes/bug8477-easypart
new file mode 100644 (file)
index 0000000..0f8f103
--- /dev/null
@@ -0,0 +1,3 @@
+  o Minor bugfixes:
+    - Log the purpose of a path-bias testing circuit correctly.
+      Improves a log message from bug 8477; bugfix on 0.2.4.8-alpha.  
index 17e18c760358898af4ac39b45ed37d21c1bac0c3..d4c07fc82b3a167620b8d0da6269d3f69cd3f7e4 100644 (file)
@@ -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;