diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-12-08 08:42:52 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-12-08 08:44:58 -0500 |
commit | e9bf584694a592852293b945575d17ea4c3b742b (patch) | |
tree | d89a896ab04aab60aac090f6b06af5fa89ebe699 /changes/bug16056 | |
parent | 9c66afe7720aa32a2640564bbf8b0af64e394ba5 (diff) | |
download | tor-e9bf584694a592852293b945575d17ea4c3b742b.tar.gz tor-e9bf584694a592852293b945575d17ea4c3b742b.zip |
Format IPv6 policies correctly.
Previously we'd suppressed the mask-bits field in the output when
formatting a policy if it was >=32. But that should be a >=128 if
we're talking about IPv6.
Since we didn't put these in descriptors, this bug affects only log
messages and controller outputs.
Fix for bug 16056. The code in question was new in 0.2.0, but the
bug was introduced in 0.2.4 when we started supporting IPv6 exits.
Diffstat (limited to 'changes/bug16056')
-rw-r--r-- | changes/bug16056 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/bug16056 b/changes/bug16056 new file mode 100644 index 0000000000..e3311c0f93 --- /dev/null +++ b/changes/bug16056 @@ -0,0 +1,4 @@ + o Minor bugfixes (relay, IPv6): + - When displaying an IPv6 exit policy, include the mask bits correctly + even when the number is greater than 31. Fixes bug 16056; bugfix on + 0.2.4.7-alpha. Patch from "gturner".
\ No newline at end of file |