Make Sebastian's misc-reasons branch compile; frob the changes file

This commit is contained in:
Nick Mathewson 2010-08-15 21:32:06 -04:00
parent 9bcea4a8ef
commit 6a77bde8d8
2 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,6 @@
o Minor bugfixes:
- Exit nodes didn't recognize EHOSTUNREACH as a stream ending reason
and sent back END_STREAM_REASON_NOROUTE. Also update the spec to
reflect this new reason. Bugfix on 0.1.0.1-rc; fixes bug 1793.
- Exit nodes didn't recognize EHOSTUNREACH as a plausible error
code, and sent back END_STREAM_REASON_MISC. They now send a a
new stream ending reason: END_STREAM_REASON_NOROUTE. Also update
the spec to reflect this new reason. Bugfix on 0.1.0.1-rc; fixes
bug 1793.

View File

@ -28,7 +28,7 @@ stream_end_reason_to_control_string(int reason)
case END_STREAM_REASON_DESTROY: return "DESTROY";
case END_STREAM_REASON_DONE: return "DONE";
case END_STREAM_REASON_TIMEOUT: return "TIMEOUT";
case END_STREAM_REASON_NOROUTE: "return "NOROUTE";
case END_STREAM_REASON_NOROUTE: return "NOROUTE";
case END_STREAM_REASON_HIBERNATING: return "HIBERNATING";
case END_STREAM_REASON_INTERNAL: return "INTERNAL";
case END_STREAM_REASON_RESOURCELIMIT: return "RESOURCELIMIT";