mirror of
https://github.com/aramperes/onetun.git
synced 2025-09-09 06:58:31 -04:00
Process more than one UDP socket per poll
This commit is contained in:
parent
3b296d66c5
commit
e06b6526b7
1 changed files with 0 additions and 2 deletions
|
@ -152,7 +152,6 @@ impl VirtualInterfacePoll for UdpVirtualInterface {
|
|||
virtual_port, e
|
||||
);
|
||||
});
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -166,7 +165,6 @@ impl VirtualInterfacePoll for UdpVirtualInterface {
|
|||
Ok((data, _peer)) => {
|
||||
if !data.is_empty() {
|
||||
endpoint.send(Event::RemoteData(*virtual_port, data.to_vec()));
|
||||
break;
|
||||
}
|
||||
}
|
||||
Err(e) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue