From: Roger Dingledine Date: Tue, 22 Mar 2005 20:41:28 +0000 (+0000) Subject: options->MaxAdvertisedBandwidth only replaces advertised X-Git-Tag: tor-0.1.0.1-rc~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6659cd5e8e76853941f7714e6219dec294f7fd97;p=thirdparty%2Ftor.git options->MaxAdvertisedBandwidth only replaces advertised bandwidthrate, not advertised bandwidthcapacity svn:r3818 --- 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 */