diff options
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 828507448b..a56582144d 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -1348,8 +1348,8 @@ generate_v2_networkstatus(void) "contact %s\n" "published %s\n" "dir-options%s%s\n" - "client-versions %s\n" - "server-versions %s\n" + "%s%s" /* client versions %s */ + "%s%s%s" /* \nserver versions %s \n */ "dir-signing-key\n%s\n", hostname, ipaddr, (int)options->DirPort, fingerprint, @@ -1357,8 +1357,11 @@ generate_v2_networkstatus(void) published, naming ? " Names" : "", versioning ? " Versions" : "", + versioning ? "client-versions " : "", client_versions, + versioning ? "\nserver-versions " : "", server_versions, + versioning ? "\n" : "", identity_pkey); outp = status + strlen(status); endp = status + len; |