mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
options->MaxAdvertisedBandwidth only replaces advertised
bandwidthrate, not advertised bandwidthcapacity svn:r3818
This commit is contained in:
parent
f5c930bb0e
commit
6659cd5e8e
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user