From e06b6526b7e439227e9b413e079ba9959ba74a44 Mon Sep 17 00:00:00 2001 From: Aram Peres Date: Sat, 8 Jan 2022 17:49:07 -0500 Subject: [PATCH] Process more than one UDP socket per poll --- src/virtual_iface/udp.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/virtual_iface/udp.rs b/src/virtual_iface/udp.rs index 68de77a..67b227f 100644 --- a/src/virtual_iface/udp.rs +++ b/src/virtual_iface/udp.rs @@ -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) => {