diff options
author | trinity-1686a <trinity@deuxfleurs.fr> | 2023-10-29 18:14:13 +0100 |
---|---|---|
committer | trinity-1686a <trinity@deuxfleurs.fr> | 2023-10-29 18:15:18 +0100 |
commit | d3dadf51afa90f96c9df4e3247763b714b0d9c41 (patch) | |
tree | 4634e50a8549cfa9c6a4a1940cfa462b2094c359 /src | |
parent | eca9973e9ee62d16aa971d3a524070f6c237a9ff (diff) | |
download | tor-d3dadf51afa90f96c9df4e3247763b714b0d9c41.tar.gz tor-d3dadf51afa90f96c9df4e3247763b714b0d9c41.zip |
correctly parse consensus params for dos stream mitigation
Diffstat (limited to 'src')
-rw-r--r-- | src/core/or/dos.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/or/dos.c b/src/core/or/dos.c index 632a49888d..b789f87aae 100644 --- a/src/core/or/dos.c +++ b/src/core/or/dos.c @@ -357,9 +357,9 @@ set_dos_parameters(const networkstatus_t *ns) /* Stream. */ dos_stream_enabled = get_param_stream_enabled(ns); - dos_stream_defense_type = get_param_stream_rate(ns); - dos_stream_rate = get_param_stream_burst(ns); - dos_stream_burst = get_param_stream_defense_type(ns); + dos_stream_defense_type = get_param_stream_defense_type(ns); + dos_stream_rate = get_param_stream_rate(ns); + dos_stream_burst = get_param_stream_burst(ns); } /* Free everything for the circuit creation DoS mitigation subsystem. */ |