diff --git a/ostp-client/src/tunnel/inbounds/tun.rs b/ostp-client/src/tunnel/inbounds/tun.rs index 5ef7462..de11e25 100644 --- a/ostp-client/src/tunnel/inbounds/tun.rs +++ b/ostp-client/src/tunnel/inbounds/tun.rs @@ -21,7 +21,7 @@ pub async fn run_tun_inbound( use tokio::io::{AsyncReadExt, AsyncWriteExt}; use futures::{StreamExt, SinkExt}; - let InboundConfig::Tun { tag, auto_route, mtu, .. } = inbound_config else { + let InboundConfig::Tun { tag, auto_route, mtu, fd, .. } = inbound_config else { return Err(anyhow!("Invalid config for TUN inbound")); };