udp: support writing statistics html report to file

This commit is contained in:
Joakim Frostegård 2021-12-21 19:41:49 +01:00
parent b2f0347876
commit f531a246b0
8 changed files with 317 additions and 49 deletions

View file

@ -118,7 +118,7 @@ pub fn run(config: Config) -> ::anyhow::Result<()> {
.with_context(|| "spawn socket worker")?;
}
if config.statistics.interval != 0 {
if config.statistics.active() {
let state = state.clone();
let config = config.clone();