modified: frida_core/src/linux_tun.rs

This commit is contained in:
Michael Wain 2024-12-09 19:04:54 +03:00
parent 3c23c38d25
commit a2a066a29d

View File

@ -3,6 +3,7 @@ use std::error::Error;
use tokio_tun::Tun;
use std::net::Ipv4Addr;
use std::os::unix::io::AsRawFd;
use crate::device::AbstractDevice;
pub fn create(cfg: AbstractDevice) -> (DeviceReader, DeviceWriter) {
let tun = Arc::new(