mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-23 20:03:31 +01:00
correctly parse consensus params for dos stream mitigation
This commit is contained in:
parent
eca9973e9e
commit
d3dadf51af
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user