增加feature判断

This commit is contained in:
lbl8603
2024-08-07 21:48:58 +08:00
parent fc6bf407c4
commit 8e1a8fa7f0
+1
View File
@@ -95,6 +95,7 @@ impl Config {
local_ipv4: Option<Ipv4Addr>,
) -> anyhow::Result<Self> {
#[cfg(windows)]
#[cfg(feature = "integrated_tun")]
if !tap {
if let Err(e) = tun::Device::check_tun_dll() {
log::warn!("校验平台dll {:?}", e);