diff --git a/ostp-client/src/tunnel/inbounds/tun.rs b/ostp-client/src/tunnel/inbounds/tun.rs index 9762569..5ef7462 100644 --- a/ostp-client/src/tunnel/inbounds/tun.rs +++ b/ostp-client/src/tunnel/inbounds/tun.rs @@ -6,7 +6,7 @@ use crate::tunnel::router::{Router, Session}; use crate::tunnel::outbounds::OutboundManager; use tokio::sync::watch; -#[cfg(any(target_os = "windows", target_os = "linux"))] +#[cfg(any(target_os = "windows", target_os = "linux", target_os = "android"))] pub async fn run_tun_inbound( config: ClientConfig, inbound_config: InboundConfig, @@ -300,7 +300,7 @@ pub async fn run_tun_inbound( Ok(()) } -#[cfg(not(any(target_os = "windows", target_os = "linux")))] +#[cfg(not(any(target_os = "windows", target_os = "linux", target_os = "android")))] pub async fn run_tun_inbound( _config: ClientConfig, _inbound_config: InboundConfig, diff --git a/ostp.wiki b/ostp.wiki index 43b4935..99e1c6f 160000 --- a/ostp.wiki +++ b/ostp.wiki @@ -1 +1 @@ -Subproject commit 43b4935fd2addc284a5ae8719824652f9063b95d +Subproject commit 99e1c6ff5406a1ad015f65bb2aa45be11487342e