From c9e3dc83ab5ff9aa7108fb95cba53959c9591aad Mon Sep 17 00:00:00 2001 From: lbl8603 <49143209+lbl8603@users.noreply.github.com> Date: Mon, 9 Jan 2023 11:23:08 +0800 Subject: [PATCH] Update tun_handler.rs --- switch/src/handle/tun_handler.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/switch/src/handle/tun_handler.rs b/switch/src/handle/tun_handler.rs index 0be1828..5518edc 100644 --- a/switch/src/handle/tun_handler.rs +++ b/switch/src/handle/tun_handler.rs @@ -130,7 +130,7 @@ fn handle_loop( } } -#[cfg(any(target_os = "macos", target_os = "linux"))] +#[cfg(any(target_os = "macos", target_os = "linux", target_os = "android"))] pub async fn handler_start(mut status_watch: watch::Receiver, udp: UdpSocket, tun_reader: TunReader, @@ -139,7 +139,7 @@ pub async fn handler_start(mut status_watch: watch::Receiver(mut status_watch: watch::Receiver