diff options
author | David Goulet <dgoulet@torproject.org> | 2018-02-15 13:51:34 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2018-02-15 13:51:34 -0500 |
commit | 9af5b625e8be64ed63ad5b19ae6c4b450e977ce0 (patch) | |
tree | 002b0236d9b9511a575d8678760d2978de8118ab /src/or/config.c | |
parent | 6b1dba214db3058b143bbb4d4c4bdfee32d100f1 (diff) | |
download | tor-9af5b625e8be64ed63ad5b19ae6c4b450e977ce0.tar.gz tor-9af5b625e8be64ed63ad5b19ae6c4b450e977ce0.zip |
cmux: Rename cell_ewma_set_scale_factor()
It is rename to something more meaningful that explains what it does exactly
which is sets the EWMA options (currently only one exists). The new name is
cmux_ewma_set_options().
Also, remove a public function from circuitmux_ewma.h that is only used in the
C file. Make it static inline as well.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c index 0ac7779213..107f9ac5fd 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -2073,7 +2073,7 @@ options_act(const or_options_t *old_options) configure_accounting(time(NULL)); /* Change the cell EWMA settings */ - cell_ewma_set_scale_factor(options, networkstatus_get_latest_consensus()); + cmux_ewma_set_options(options, networkstatus_get_latest_consensus()); /* Update the BridgePassword's hashed version as needed. We store this as a * digest so that we can do side-channel-proof comparisons on it. |