Wireguard Timer Support

Adds Wireguard Timer Support
This commit is contained in:
Jett Chen 2024-01-11 20:59:18 +08:00
parent fd9b3413ac
commit e85b32d9aa
7 changed files with 64 additions and 6 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?;