mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
If you're not a versioning dirserver, don't put the string
"client-versions \nserver-versions \n" in your network status. svn:r6329
This commit is contained in:
parent
5dbdc3fc22
commit
b7cadc0db5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user