diff options
author | Roger Dingledine <arma@torproject.org> | 2021-01-16 23:40:18 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2021-01-21 13:46:56 -0500 |
commit | 633b68bfe2cfaab41dc473923acc794e789a4c16 (patch) | |
tree | 8ab150417b032638ff1d825320821b8787aa7275 /src/feature/dircache/dircache.c | |
parent | 9e6064ec359a170ab37fb5d66ef7c46519ac1caa (diff) | |
download | tor-633b68bfe2cfaab41dc473923acc794e789a4c16.tar.gz tor-633b68bfe2cfaab41dc473923acc794e789a4c16.zip |
log more during consensus voting process
Give more visibility to directory authority operators during the consensus
voting process.
Closes ticket 40245.
Diffstat (limited to 'src/feature/dircache/dircache.c')
-rw-r--r-- | src/feature/dircache/dircache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/feature/dircache/dircache.c b/src/feature/dircache/dircache.c index 7f6452afbb..00bb0abf23 100644 --- a/src/feature/dircache/dircache.c +++ b/src/feature/dircache/dircache.c @@ -1708,7 +1708,8 @@ directory_handle_command_post,(dir_connection_t *conn, const char *headers, !strcmp(url,"/tor/post/vote")) { /* v3 networkstatus vote */ const char *msg = "OK"; int status; - if (dirvote_add_vote(body, approx_time(), &msg, &status)) { + if (dirvote_add_vote(body, approx_time(), TO_CONN(conn)->address, + &msg, &status)) { write_short_http_response(conn, status, "Vote stored"); } else { tor_assert(msg); |