fix(client): fix missing fd destructuring in tun inbound

This commit is contained in:
ospab 2026-06-23 01:43:55 +03:00
parent a965adb0b1
commit d1d6a55e75
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ pub async fn run_tun_inbound(
use tokio::io::{AsyncReadExt, AsyncWriteExt}; use tokio::io::{AsyncReadExt, AsyncWriteExt};
use futures::{StreamExt, SinkExt}; 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")); return Err(anyhow!("Invalid config for TUN inbound"));
}; };