[tor-commits] [torspec/master] Describe the protocol versions lists more accurately.

nickm at torproject.org nickm at torproject.org
Fri Feb 16 00:40:26 UTC 2018


commit a8455f4d1a6ef7d2fca1e3cdc1b7b6ee5ce091c7
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Feb 15 19:40:12 2018 -0500

    Describe the protocol versions lists more accurately.
---
 dir-spec.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dir-spec.txt b/dir-spec.txt
index 39355d7..12ece96 100644
--- a/dir-spec.txt
+++ b/dir-spec.txt
@@ -782,6 +782,7 @@
 
        Entry = Keyword "=" Values
 
+       Values =
        Values = Value
        Values = Value "," Values
 
@@ -796,7 +797,7 @@
        sorted by keyword.  Values should be numerically ascending within each
        entry.  (This implies that there should be no overlapping ranges.)
        Ranges should be represented as compactly as possible. Ints must be no
-       more than 2^32 - 1.
+       more than 2^32 - 2. (Yes, 2.)
 
        This field was first added in Tor 0.2.9.x. Some time after all earlier
        Tor relay versions are obsolete, it will become mandatory.



More information about the tor-commits mailing list