From 2934d870d2d6145c59af008dc2ce91962d26322b Mon Sep 17 00:00:00 2001 From: SajjadPourali Date: Sun, 1 Dec 2024 12:58:58 -0500 Subject: [PATCH] Remove use of packet_information --- examples/tun_wintun.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tun_wintun.rs b/examples/tun_wintun.rs index 07002a6..5604986 100644 --- a/examples/tun_wintun.rs +++ b/examples/tun_wintun.rs @@ -40,7 +40,7 @@ async fn main() -> Result<(), Box> { 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)?);