mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
correctly parse consensus params for dos stream mitigation
This commit is contained in:
+3
-3
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user