From 919a4866c2c8f2326f1ef5c6c9a1a97c961a04f0 Mon Sep 17 00:00:00 2001 From: SajjadPourali Date: Sun, 1 Dec 2024 13:00:44 -0500 Subject: [PATCH] Remove use of packet_information --- examples/tun_wintun.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/tun_wintun.rs b/examples/tun_wintun.rs index 5604986..1af173c 100644 --- a/examples/tun_wintun.rs +++ b/examples/tun_wintun.rs @@ -33,10 +33,10 @@ async fn main() -> Result<(), Box> { #[cfg(not(target_os = "windows"))] config.destination(_gateway); - #[cfg(target_os = "linux")] - config.platform_config(|config| { - config.packet_information(true); - }); + // #[cfg(target_os = "linux")] + // config.platform_config(|config| { + // config.ensure_root_privileges(true); + // }); let mut ipstack_config = ipstack::IpStackConfig::default(); ipstack_config.mtu(MTU);