diff options
author | Peter Palfrader <peter@palfrader.org> | 2008-08-14 12:37:59 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2008-08-14 12:37:59 +0000 |
commit | 7c4106135a4aa305e1b9ee9c4ded568f457d8ecd (patch) | |
tree | 6bcd85a97e41425bd223db9df6b77f07109f0ee6 /src/or/dirserv.c | |
parent | ff32708d0e6e031d3b634a88abee03680ed61dcc (diff) | |
download | tor-7c4106135a4aa305e1b9ee9c4ded568f457d8ecd.tar.gz tor-7c4106135a4aa305e1b9ee9c4ded568f457d8ecd.zip |
Give bw in kb/sec in votes/consensus
svn:r16544
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 5454b6d45c..2186bf4fdd 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -1966,7 +1966,7 @@ routerstatus_format_entry(char *buf, size_t buf_len, r = tor_snprintf(cp, buf_len - (cp-buf), "w Bandwidth=%d\n", - router_get_advertised_bandwidth_capped(desc)); + router_get_advertised_bandwidth_capped(desc) / 1024); if (r<0) { log_warn(LD_BUG, "Not enough space in buffer."); return -1; |