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

@ -293,7 +293,7 @@ fn read_requests(
}
}
if config.statistics.interval != 0 {
if config.statistics.active() {
state
.statistics_ipv4
.requests_received
@ -471,7 +471,7 @@ fn send_responses(
}
}
if config.statistics.interval != 0 {
if config.statistics.active() {
state
.statistics_ipv4
.responses_sent