summaryrefslogtreecommitdiff
path: root/src/or/dirvote.c
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2008-08-14 12:37:07 +0000
committerPeter Palfrader <peter@palfrader.org>2008-08-14 12:37:07 +0000
commit1a2c6b41e323e5db7dd3d7c50ba8bc8594b37411 (patch)
tree14c7a4b9427401f33c16d37fc1d67705fe82fc6e /src/or/dirvote.c
parent24da63ea7b8757fd26fc58da922784e6f6ec5379 (diff)
downloadtor-1a2c6b41e323e5db7dd3d7c50ba8bc8594b37411.tar.gz
tor-1a2c6b41e323e5db7dd3d7c50ba8bc8594b37411.zip
Do not show policy and bw in v2 statuses
svn:r16537
Diffstat (limited to 'src/or/dirvote.c')
-rw-r--r--src/or/dirvote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index 42710a40d5..b704a94f08 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -145,7 +145,7 @@ format_networkstatus_vote(crypto_pk_env_t *private_signing_key,
SMARTLIST_FOREACH(v3_ns->routerstatus_list, vote_routerstatus_t *, vrs,
{
if (routerstatus_format_entry(outp, endp-outp, &vrs->status,
- vrs->version, 0) < 0) {
+ vrs->version, 0, 0) < 0) {
log_warn(LD_BUG, "Unable to print router status.");
goto err;
}
@@ -924,7 +924,7 @@ networkstatus_compute_consensus(smartlist_t *votes,
/* Okay!! Now we can write the descriptor... */
/* First line goes into "buf". */
- routerstatus_format_entry(buf, sizeof(buf), &rs_out, NULL, 1);
+ routerstatus_format_entry(buf, sizeof(buf), &rs_out, NULL, 1, 0);
smartlist_add(chunks, tor_strdup(buf));
/* Second line is all flags. The "\n" is missing. */
smartlist_add(chunks,