mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 02:05:30 +00:00
udp: support writing statistics html report to file
This commit is contained in:
parent
b2f0347876
commit
f531a246b0
8 changed files with 317 additions and 49 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue