Skip to content

Commit

Permalink
Remove use of packet_information
Browse files Browse the repository at this point in the history
  • Loading branch information
SajjadPourali committed Dec 1, 2024
1 parent 5d29977 commit 2934d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/tun_wintun.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {

let mut ipstack_config = ipstack::IpStackConfig::default();
ipstack_config.mtu(MTU);
ipstack_config.packet_information(cfg!(target_family = "unix"));
// ipstack_config.packet_information(cfg!(target_family = "unix"));

#[cfg(not(target_os = "windows"))]
let mut ip_stack = ipstack::IpStack::new(ipstack_config, tun::create_as_async(&config)?);
Expand Down

0 comments on commit 2934d87

Please sign in to comment.