Add string for IP_NOW_REDUNDANT in circuit_end_reason_to_control_string

Closes 14207; bugfix on 0.2.6.2-alpha.
This commit is contained in:
Nick Mathewson 2015-01-15 11:53:20 -05:00
parent bb56fd1f8f
commit 3368b0c9f2
2 changed files with 5 additions and 0 deletions

3
changes/bug14207 Normal file
View File

@ -0,0 +1,3 @@
o Minor bugfixes (controller):
- Add a code for the END_CIRC_REASON_IP_NOW_REDUNDANT circuit close
reason. Fixes bug 12407; bugfix on 0.2.6.2-alpha.

View File

@ -350,6 +350,8 @@ circuit_end_reason_to_control_string(int reason)
return "NOSUCHSERVICE"; return "NOSUCHSERVICE";
case END_CIRC_REASON_MEASUREMENT_EXPIRED: case END_CIRC_REASON_MEASUREMENT_EXPIRED:
return "MEASUREMENT_EXPIRED"; return "MEASUREMENT_EXPIRED";
case END_CIRC_REASON_IP_NOW_REDUNDANT:
return "IP_NOW_REDUNDANT";
default: default:
if (is_remote) { if (is_remote) {
/* /*