From dfcfb5d17dcb89d51cdfe11ee89cb82791624ee3 Mon Sep 17 00:00:00 2001 From: Mike Perry Date: Wed, 30 Jan 2013 18:40:46 -0400 Subject: 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. --- src/or/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/or/config.c') 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"), -- cgit v1.2.3-54-g00ecf