Wireguard Timer Support (#167)

This commit is contained in:
Jett Chen 2024-01-21 03:38:15 +08:00 committed by GitHub
parent fd9b3413ac
commit dfd4dbc81e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 67 additions and 8 deletions

View file

@ -26,7 +26,6 @@ impl TunInterface {
}
}
#[instrument]
pub async fn recv(&self, buf: &mut [u8]) -> io::Result<usize> {
loop {
let mut guard = self.inner.readable().await?;