Ver código fonte

Clarify DirPort multiplicity

Fix for #10470 as suggested by arma
Nick Mathewson 10 anos atrás
pai
commit
3511549651
2 arquivos alterados com 6 adições e 1 exclusões
  1. 4 0
      changes/bug10470
  2. 2 1
      doc/tor.1.txt

+ 4 - 0
changes/bug10470

@@ -0,0 +1,4 @@
+  o Documentation fixes:
+    - Note that all but one DirPort entry must have the NoAdvertise flag
+      set. Fix for #10470.
+

+ 2 - 1
doc/tor.1.txt

@@ -1763,7 +1763,8 @@ if DirPort is non-zero):
 [[DirPort]] **DirPort** \['address':]__PORT__|**auto** [_flags_]::
 [[DirPort]] **DirPort** \['address':]__PORT__|**auto** [_flags_]::
     If this option is nonzero, advertise the directory service on this port.
     If this option is nonzero, advertise the directory service on this port.
     Set it to "auto" to have Tor pick a port for you.  This option can occur
     Set it to "auto" to have Tor pick a port for you.  This option can occur
-    more than once. (Default: 0)
+    more than once, but only one advertised DirPort is supported: all
+    but one DirPort must have the **NoAdvertise** flag set. (Default: 0)
 +
 +
     The same flags are supported here as are supported by ORPort.
     The same flags are supported here as are supported by ORPort.