We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
poll
1 parent 17012eb commit 809d6cfCopy full SHA for 809d6cf
src/iface/interface/mod.rs
@@ -465,9 +465,11 @@ impl Interface {
465
}
466
467
// Process egress.
468
- match self.poll_egress(timestamp, device, sockets) {
469
- PollResult::None => {}
470
- PollResult::SocketStateChanged => res = PollResult::SocketStateChanged,
+ loop {
+ match self.poll_egress(timestamp, device, sockets) {
+ PollResult::None => break,
471
+ PollResult::SocketStateChanged => res = PollResult::SocketStateChanged,
472
+ }
473
474
475
res
0 commit comments