mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-10-13 07:46:15 -08:00
fix ip & route cfg on windows (#28)
This commit is contained in:
1 parent
5f30747f62
commit
cb0df51319
7 files changed
+82
-38
No files matched your search
@@ -54,6 +54,7 @@ impl VirtualNic {
|
||||
let mut config = tun::Configuration::default();
|
||||
let has_packet_info = cfg!(target_os = "macos");
|
||||
config.layer(tun::Layer::L3);
|
||||
config.name(format!("et_{}", self.global_ctx.inst_name));
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user