cargo format
This commit is contained in:
parent
65efa0a2e1
commit
af09c610b2
14 changed files with 154 additions and 81 deletions
|
|
@ -34,7 +34,7 @@ impl TunInterface {
|
|||
Ok(result) => return result,
|
||||
Err(_would_block) => {
|
||||
tracing::debug!("WouldBlock");
|
||||
continue
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ impl TunInterface {
|
|||
#[throws]
|
||||
#[instrument]
|
||||
pub fn new_with_options(options: TunOptions) -> TunInterface {
|
||||
let ti = if options.tun_retrieve{
|
||||
let ti = if options.tun_retrieve {
|
||||
TunInterface::retrieve().ok_or(Error::new(
|
||||
std::io::ErrorKind::NotFound,
|
||||
"No tun interface found",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue