Skip to content

Commit

Permalink
增加feature判断
Browse files Browse the repository at this point in the history
  • Loading branch information
vnt-dev committed Aug 7, 2024
1 parent fc6bf40 commit 8e1a8fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vnt/src/core/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8e1a8fa

Please sign in to comment.