diff options
author | huyvq <huyvq.c633@gmail.com> | 2017-06-02 23:26:53 +0700 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-06-21 13:49:17 -0400 |
commit | d92b999757336249bcff15c5c498e6e5353d38c4 (patch) | |
tree | 068e68aaabacafd7e82635591ff5296ef7eab144 /src/or/directory.c | |
parent | 0471c905a18760413a63f05f50535313c76ca0c4 (diff) | |
download | tor-d92b999757336249bcff15c5c498e6e5353d38c4.tar.gz tor-d92b999757336249bcff15c5c498e6e5353d38c4.zip |
Convert authdir_mode_handles_descs(options, -1) with authdir_mode(options)
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index b680b134a4..5e8e6638b6 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -4850,7 +4850,7 @@ directory_handle_command_post,(dir_connection_t *conn, const char *headers, goto done; } - if (authdir_mode_handles_descs(options, -1) && + if (authdir_mode(options) && !strcmp(url,"/tor/")) { /* server descriptor post */ const char *msg = "[None]"; uint8_t purpose = authdir_mode_bridge(options) ? |