From 4d3b8e6c1ad6713f3a29b21c2571db3bb1731bdc Mon Sep 17 00:00:00 2001 From: alterdekim Date: Mon, 9 Dec 2024 02:09:35 +0300 Subject: [PATCH] modified: frida_core/src/tun.rs --- frida_core/src/tun.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frida_core/src/tun.rs b/frida_core/src/tun.rs index 6e6f623..19f3240 100644 --- a/frida_core/src/tun.rs +++ b/frida_core/src/tun.rs @@ -1,6 +1,9 @@ #[cfg(target_os = "windows")] use crate::win_tun::{DeviceReader, DeviceWriter, create}; +#[cfg(target_os = "linux")] +use crate::linux_tun::{DeviceReader, DeviceWriter, create}; + pub(crate) fn create_tun() -> (DeviceReader, DeviceWriter) { #[cfg(target_os = "windows")] create()