mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-04-23 07:19:08 +00:00
minor changes
This commit is contained in:
parent
334514cfc1
commit
b019ace2e1
1 changed files with 1 additions and 1 deletions
|
@ -588,7 +588,7 @@ impl<'a> TunToProxy<'a> {
|
|||
}
|
||||
|
||||
fn clearup_expired_udp_associate(&mut self) -> Result<()> {
|
||||
let keys = self.connection_map.keys().map(|key| key.clone()).collect::<Vec<_>>();
|
||||
let keys = self.connection_map.keys().cloned().collect::<Vec<_>>();
|
||||
for key in keys {
|
||||
if self.udp_associate_timeout_expired(&key) {
|
||||
log::debug!("UDP associate timeout: {}", key);
|
||||
|
|
Loading…
Add table
Reference in a new issue