aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2013-01-30 22:41:10 -0400
committerNick Mathewson <nickm@torproject.org>2013-02-01 17:01:22 -0500
commitda5817772d6a10e1e842a6d8f72e6ba123bd29ec (patch)
tree8cb65ec449f5da810fc329acb725d152f800ddad /src/or/routerparse.c
parent6e4610de0226f4fa80b68f92c458a5ad42f21b5b (diff)
downloadtor-da5817772d6a10e1e842a6d8f72e6ba123bd29ec.tar.gz
tor-da5817772d6a10e1e842a6d8f72e6ba123bd29ec.zip
Rename and relocate the bw weight scale param getter.
It had nothing to do with circuit build times.
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index eaf015c0bc..2a3de12c35 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -2255,7 +2255,7 @@ networkstatus_verify_bw_weights(networkstatus_t *ns)
const char *casename = NULL;
int valid = 1;
- weight_scale = circuit_build_times_get_bw_scale(ns);
+ weight_scale = networkstatus_get_weight_scale_param(ns);
Wgg = networkstatus_get_bw_weight(ns, "Wgg", -1);
Wgm = networkstatus_get_bw_weight(ns, "Wgm", -1);
Wgd = networkstatus_get_bw_weight(ns, "Wgd", -1);