From d1d6a55e75ebf105eba0daa9ff06303159fd18b3 Mon Sep 17 00:00:00 2001 From: ospab Date: Tue, 23 Jun 2026 01:43:55 +0300 Subject: [PATCH] fix(client): fix missing fd destructuring in tun inbound --- ostp-client/src/tunnel/inbounds/tun.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")); };