mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-09-03 01:25:37 +00:00
feat: support shared nic mobile fd
Create the shared virtual nic dispatcher from the mobile tun fd. Later shared members attach through their ring tunnel and do not consume another fd. Dedicated mobile nic creation stays unchanged. Fix mobile no-magic-dns cfg so the mobile tun path checks without enabling magic-dns.
This commit is contained in:
@@ -128,7 +128,7 @@ impl EasyTierLauncher {
|
||||
let Some(tun_fd) = tun_fd_receiver.recv().await.flatten() else {
|
||||
return;
|
||||
};
|
||||
let res = Instance::setup_nic_ctx_for_mobile(
|
||||
let _ = Instance::setup_nic_ctx_for_mobile(
|
||||
nic_ctx.clone(),
|
||||
global_ctx.clone(),
|
||||
peer_mgr.clone(),
|
||||
|
||||
Reference in New Issue
Block a user