diff options
author | Roger Dingledine <arma@torproject.org> | 2005-03-22 20:41:28 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-03-22 20:41:28 +0000 |
commit | 6659cd5e8e76853941f7714e6219dec294f7fd97 (patch) | |
tree | 61146728cbb9fed9984b9d755efda042e35c4678 | |
parent | f5c930bb0ea2139170a0e128066b7e8c71f9016b (diff) | |
download | tor-6659cd5e8e76853941f7714e6219dec294f7fd97.tar.gz tor-6659cd5e8e76853941f7714e6219dec294f7fd97.zip |
options->MaxAdvertisedBandwidth only replaces advertised
bandwidthrate, not advertised bandwidthcapacity
svn:r3818
-rw-r--r-- | src/or/router.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/router.c b/src/or/router.c index 4f786a2aad..6fcba84ad1 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -687,8 +687,6 @@ int router_rebuild_descriptor(int force) { if (options->BandwidthRate > options->MaxAdvertisedBandwidth) ri->bandwidthrate = (int)options->MaxAdvertisedBandwidth; - if (ri->bandwidthcapacity > options->MaxAdvertisedBandwidth) - ri->bandwidthcapacity = (int)options->MaxAdvertisedBandwidth; router_add_exit_policy_from_config(ri); if (desc_routerinfo) /* inherit values */ |