udp: config: make max_connection_age a u32, improve its documentation

This commit is contained in:
Joakim Frostegård 2022-04-13 23:42:35 +02:00
parent 4203e86eca
commit 38962eba6b
2 changed files with 3 additions and 3 deletions

View file

@ -34,7 +34,7 @@ impl ConnectionValidator {
Ok(Self {
hmac,
start_time: Instant::now(),
max_connection_age: config.cleaning.max_connection_age as u32,
max_connection_age: config.cleaning.max_connection_age,
})
}