diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-03-22 19:01:46 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-03-22 19:01:46 +0000 |
commit | ec81f870181940909507fd5356fa5ecc11c7440e (patch) | |
tree | 81e3f8c5afc9d6622e3813c328a4eb34a7edaa00 /src/or/config.c | |
parent | 2d662bf773fd9b73c2698f9ddb2e473df180a8e9 (diff) | |
download | tor-ec81f870181940909507fd5356fa5ecc11c7440e.tar.gz tor-ec81f870181940909507fd5356fa5ecc11c7440e.zip |
Implement an option to cap bandwidth-to-advertise. Arma: can you improve the manpage entry by explaining why you would want to do this?
svn:r3813
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c index 09e6183e40..3b283b7d6d 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -99,6 +99,7 @@ static config_var_t config_vars[] = { VAR("AuthoritativeDirectory",BOOL, AuthoritativeDir, "0"), VAR("BandwidthRate", MEMUNIT, BandwidthRate, "1 MB"), VAR("BandwidthBurst", MEMUNIT, BandwidthBurst, "5 MB"), + VAR("MaxAdvertisedBandwidth",MEMUNIT,MaxAdvertisedBandwidth,"128 TB"), VAR("ClientOnly", BOOL, ClientOnly, "0"), VAR("ContactInfo", STRING, ContactInfo, NULL), VAR("ControlPort", UINT, ControlPort, "0"), |