Tweaks to Cagara's CountPrivateBandwidth patch:

- Document it in the manpage
  - Add a changes entry
  - No need to log when it is set: we don't log for other options.
  - Use doxygen to document the new flag.
  - Test truth of C variables with "if (x)", not "if (x == 1)".
  - Simplify a complex boolean expression by breaking it up.
This commit is contained in:
Nick Mathewson
2011-04-05 15:01:19 -04:00
parent e61f3293e4
commit 1a49fdecf8
5 changed files with 22 additions and 11 deletions
+6
View File
@@ -0,0 +1,6 @@
o Minor features:
- Ordinarily, Tor does not count traffic from private addresses
(like 127.0.0.1 or 10.0.0.1) when calculating rate limits or
accounting. There is now a new option, CountPrivateBandwidth, to
disable this behavior. Patch from Daniel Cagara.