summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-11-04 03:25:43 +0000
committerRoger Dingledine <arma@torproject.org>2004-11-04 03:25:43 +0000
commitd0c158c8d69ead9c5d60011589bdf4d379aca208 (patch)
tree315483816c9e4300119e5c8349690bc806e5bac4 /src/or/router.c
parenta4753283dd95a6399f65f8f439bad525702a08fc (diff)
downloadtor-d0c158c8d69ead9c5d60011589bdf4d379aca208.tar.gz
tor-d0c158c8d69ead9c5d60011589bdf4d379aca208.zip
clarify the bandwidthburst and bandwidthrate are in bytes
(niels had thought they were in bits, or kb, or something) svn:r2669
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 989e7aed94..b8fd748f22 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -540,8 +540,8 @@ int router_rebuild_descriptor(void) {
}
get_platform_str(platform, sizeof(platform));
ri->platform = tor_strdup(platform);
- ri->bandwidthrate = options.BandwidthRate;
- ri->bandwidthburst = options.BandwidthBurst;
+ ri->bandwidthrate = options.BandwidthRateBytes;
+ ri->bandwidthburst = options.BandwidthBurstBytes;
ri->bandwidthcapacity = router_get_bandwidth_capacity();
router_add_exit_policy_from_config(ri);
if(desc_routerinfo) /* inherit values */