diff options
author | Mike Perry <mikeperry-git@fscked.org> | 2013-01-30 18:40:46 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-02-01 17:01:12 -0500 |
commit | dfcfb5d17dcb89d51cdfe11ee89cb82791624ee3 (patch) | |
tree | 74905d5a4689ddd6d1976a49313a420ae9b9a9f6 /src/or/config.c | |
parent | 2b2c7f23f5b36ee01540d40acae1230b38aa66a0 (diff) | |
download | tor-dfcfb5d17dcb89d51cdfe11ee89cb82791624ee3.tar.gz tor-dfcfb5d17dcb89d51cdfe11ee89cb82791624ee3.zip |
Refactor the scaling parameter fetching into a single function.
Also, deprecate the torrc options for the scaling values. It's unlikely anyone
but developers will ever tweak them, even if we provided a single ratio value.
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c index 74b635e850..70d87034a8 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -321,8 +321,8 @@ static config_var_t option_vars_[] = { V(PathBiasWarnRate, DOUBLE, "-1"), V(PathBiasExtremeRate, DOUBLE, "-1"), V(PathBiasScaleThreshold, INT, "-1"), - V(PathBiasScaleFactor, INT, "-1"), - V(PathBiasMultFactor, INT, "-1"), + OBSOLETE("PathBiasScaleFactor"), + OBSOLETE("PathBiasMultFactor"), V(PathBiasDropGuards, AUTOBOOL, "0"), OBSOLETE("PathBiasUseCloseCounts"), |