From d94cc9066304c5fbcd66bf077384e68598e477be Mon Sep 17 00:00:00 2001 From: Antonio Cheong Date: Sun, 16 Apr 2023 14:23:52 +0800 Subject: [PATCH] Fix #20 There was regression of https://github.com/blechschmidt/tun2proxy/commit/b8a08871d05bf4f2107fc4f5d4f1fe05c9e7cd06 --- src/setup.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/setup.rs b/src/setup.rs index e01b9da..7728d0f 100644 --- a/src/setup.rs +++ b/src/setup.rs @@ -8,7 +8,7 @@ use std::ffi::OsStr; use std::io::BufRead; use std::net::{IpAddr, Ipv4Addr, Ipv6Addr}; -use std::os::fd::RawFd; +use std::os::unix::io::RawFd; use std::process::{Command, Output};