diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-06-24 14:28:43 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-06-24 15:25:07 -0400 |
commit | 93ccb3294bd2af4587d11e7306422a9aef83013c (patch) | |
tree | 66499dde041cdd09aea722d2df79b0c06b71d881 /src/core/or/channelpadding.c | |
parent | 86da0cfd36f82d1d8a0948a3587aef0f518c7a66 (diff) | |
download | tor-93ccb3294bd2af4587d11e7306422a9aef83013c.tar.gz tor-93ccb3294bd2af4587d11e7306422a9aef83013c.zip |
Make a bunch of networkstatus_t parameters constant.
This is part of refactoring our "notify the rest of the code that we
have a new consensus" code.
Diffstat (limited to 'src/core/or/channelpadding.c')
-rw-r--r-- | src/core/or/channelpadding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/or/channelpadding.c b/src/core/or/channelpadding.c index be2ce78a17..c754a58c42 100644 --- a/src/core/or/channelpadding.c +++ b/src/core/or/channelpadding.c @@ -90,7 +90,7 @@ static int consensus_nf_pad_single_onion; * for every single connection, every second. */ void -channelpadding_new_consensus_params(networkstatus_t *ns) +channelpadding_new_consensus_params(const networkstatus_t *ns) { #define DFLT_NETFLOW_INACTIVE_KEEPALIVE_LOW 1500 #define DFLT_NETFLOW_INACTIVE_KEEPALIVE_HIGH 9500 |