Ticket #5044: 0001-Fix-mismatches-between-dir-spec.txt-and-routerparse..patch

File 0001-Fix-mismatches-between-dir-spec.txt-and-routerparse..patch, 1.8 KB (added by karsten, 2 years ago)

Patch for dir-spec.txt

  • dir-spec.txt

    From 82f53bdf6449a70e135a73c6931e1c934075b434 Mon Sep 17 00:00:00 2001
    From: Karsten Loesing <karsten.loesing@gmx.net>
    Date: Sat, 18 Feb 2012 10:02:10 -0800
    Subject: [PATCH] Fix mismatches between dir-spec.txt and routerparse.c.
    
    Fixes #5044.
    ---
     dir-spec.txt |   12 ++++++------
     1 files changed, 6 insertions(+), 6 deletions(-)
    
    diff --git a/dir-spec.txt b/dir-spec.txt
    index 9506d74..ab8b064 100644
    a b  
    10711071 
    10721072    "consensus-methods" SP IntegerList NL 
    10731073 
    1074         [Exactly once for votes; does not occur in consensuses.] 
     1074        [At most once for votes; does not occur in consensuses.] 
    10751075 
    10761076        A space-separated list of supported methods for generating 
    10771077        consensuses from votes.  See section 3.4.1 for details.  Method "1" 
     
    10791079 
    10801080    "consensus-method" SP Integer NL 
    10811081 
    1082         [Exactly once for consensuses; does not occur in votes.] 
     1082        [At most once for consensuses; does not occur in votes.] 
    10831083 
    10841084        See section 3.4.1 for details. 
    10851085 
     
    12281228 
    12291229    "contact" SP string NL 
    12301230 
    1231         [At most once.] 
     1231        [Exactly once.] 
    12321232 
    12331233        An arbitrary string describing how to contact the directory 
    12341234        server's administrator.  Administrators should include at least an 
    12351235        email address and a PGP fingerprint. 
    12361236 
    1237     "legacy-key" SP FINGERPRINT NL 
     1237    "legacy-dir-key" SP FINGERPRINT NL 
    12381238 
    12391239        [At most once] 
    12401240 
     
    12591259 
    12601260    "contact" SP string NL 
    12611261 
    1262         [At most once.] 
     1262        [Exactly once.] 
    12631263 
    12641264        As in the authority section of a vote. 
    12651265 
     
    12911291 
    12921292    "s" SP Flags NL 
    12931293 
    1294         [At most once.] 
     1294        [Exactly once.] 
    12951295 
    12961296        A series of space-separated status flags, in lexical order (as ASCII 
    12971297        byte strings).  Currently documented flags are: