diff options
author | Roger Dingledine <arma@torproject.org> | 2004-11-04 03:25:43 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-11-04 03:25:43 +0000 |
commit | d0c158c8d69ead9c5d60011589bdf4d379aca208 (patch) | |
tree | 315483816c9e4300119e5c8349690bc806e5bac4 /src/or/router.c | |
parent | a4753283dd95a6399f65f8f439bad525702a08fc (diff) | |
download | tor-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.c | 4 |
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 */ |