Reject attempts to say FooPort and FooPort 0 in the same cfg domain

This commit is contained in:
Nick Mathewson
2012-08-09 16:13:03 -04:00
parent e1fb3b8d65
commit d993b04485
2 changed files with 21 additions and 0 deletions
+8
View File
@@ -5,3 +5,11 @@
server, even though our new listener code would correctly not
open any ORPorts for ORPort 0. Similar bugs in other Port
options are also fixed. Fixes bug 6507; bugfix on 0.2.3.3-alpha.
o Minor features:
- Detect and reject attempts to specify both 'FooPort' and
'FooPort 0' in the same configuration domain. (It's still okay
to have a FooPort in your configuration file,and use 'FooPort 0'
on the command line to disable it.) Fixes another case of
bug6507; bugfix on 0.2.3.3-alpha.