mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Make circuit_purpose_to_string handle CIRCUIT_PURPOSE_PATH_BIAS_TESTING
This commit is contained in:
parent
051b1e8ac4
commit
653b09e1ec
3
changes/bug8477-easypart
Normal file
3
changes/bug8477-easypart
Normal file
@ -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.
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user