summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2013-01-30 18:40:46 -0400
committerNick Mathewson <nickm@torproject.org>2013-02-01 17:01:12 -0500
commitdfcfb5d17dcb89d51cdfe11ee89cb82791624ee3 (patch)
tree74905d5a4689ddd6d1976a49313a420ae9b9a9f6 /src/or/config.c
parent2b2c7f23f5b36ee01540d40acae1230b38aa66a0 (diff)
downloadtor-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.c4
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"),