Skip to content

Commit

Permalink
crates version
Browse files Browse the repository at this point in the history
  • Loading branch information
vnt-dev committed Aug 31, 2024
1 parent dd699e5 commit 27d67ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ windows-sys = { version = "0.59", features = [
"Win32_UI_WindowsAndMessaging",
"Win32_System_LibraryLoader",
] }
wintun = { version = "0.6", features = ["panic_on_unsent_packets"], package = "wintun-bindings" }
wintun = { version = "0.7.2", features = ["panic_on_unsent_packets"], package = "wintun-bindings" }
libloading = "0.8"

[target.'cfg(any(target_os = "macos", target_os = "freebsd"))'.dependencies]
Expand Down
4 changes: 1 addition & 3 deletions src/platform/windows/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,7 @@ impl Device {
.unwrap_or(wintun::MAX_RING_CAPACITY),
)?;
Device {
driver: Driver::Tun(Tun {
session: Arc::new(session),
}),
driver: Driver::Tun(Tun { session }),
}
} else if layer == Layer::L2 {
const HARDWARE_ID: &str = "tap0901";
Expand Down

0 comments on commit 27d67ca

Please sign in to comment.