correctly parse consensus params for dos stream mitigation

This commit is contained in:
trinity-1686a 2023-10-29 18:14:13 +01:00
parent eca9973e9e
commit d3dadf51af
No known key found for this signature in database
GPG Key ID: 7F9D324B2661C978

View File

@ -357,9 +357,9 @@ set_dos_parameters(const networkstatus_t *ns)
/* Stream. */ /* Stream. */
dos_stream_enabled = get_param_stream_enabled(ns); dos_stream_enabled = get_param_stream_enabled(ns);
dos_stream_defense_type = get_param_stream_rate(ns); dos_stream_defense_type = get_param_stream_defense_type(ns);
dos_stream_rate = get_param_stream_burst(ns); dos_stream_rate = get_param_stream_rate(ns);
dos_stream_burst = get_param_stream_defense_type(ns); dos_stream_burst = get_param_stream_burst(ns);
} }
/* Free everything for the circuit creation DoS mitigation subsystem. */ /* Free everything for the circuit creation DoS mitigation subsystem. */