mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-08-07 04:59:49 +00:00
fix magic-dns feature gate
This commit is contained in:
@@ -25,6 +25,7 @@ use crate::connector::direct::DirectConnectorManager;
|
||||
use crate::connector::manual::{ConnectorManagerRpcService, ManualConnectorManager};
|
||||
use crate::connector::tcp_hole_punch::TcpHolePunchConnector;
|
||||
use crate::connector::udp_hole_punch::UdpHolePunchConnector;
|
||||
#[cfg(feature = "magic-dns")]
|
||||
use crate::dns::node::DnsNode;
|
||||
use crate::gateway::icmp_proxy::IcmpProxy;
|
||||
#[cfg(feature = "kcp")]
|
||||
@@ -1383,8 +1384,6 @@ impl Instance {
|
||||
.await
|
||||
.with_context(|| "add ip failed")?;
|
||||
|
||||
self.dns.start();
|
||||
|
||||
Self::use_new_nic_ctx(nic_ctx.clone(), new_nic_ctx).await;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user